Plot keeps on flipping

조회 수: 4 (최근 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에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by