Plot keeps on flipping

2 次查看(过去 30 天)
Rafay Ali
Rafay Ali 2019-5-23
评论: Adam Danz 2019-5-23
I have two plots which I am plotting. They are almost similar with a difference of 2 units. So both the graphs are identical but are slightly different in terms of magnitude. When I plot the first graph, I get my desired values plotted correctly. The moment I plot the other graph in the same plot, either one becomes the mirror image of the other. I tried using the negative sign in one so that in case it flips, it superimposes itsefl on the other but I am still getting the mirror image. I use hold on in my code.
Could someone please help? The graph seems to be flipping and not superimposing is my issue.
  1 个评论
Adam Danz
Adam Danz 2019-5-23
Provide relevant sections of code. An image of the figure might be helpful, too.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by