Plot keeps on flipping

4 visualizzazioni (ultimi 30 giorni)
Rafay Ali
Rafay Ali il 23 Mag 2019
Commentato: Adam Danz il 23 Mag 2019
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 Commento
Adam Danz
Adam Danz il 23 Mag 2019
Provide relevant sections of code. An image of the figure might be helpful, too.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by