upside down plot in GUI
Show older comments
Hi! I am programming a GUI which draws a plot from the values that the user gives, and once I already have a plot drawn, when I change the inputs so that the program draws a new one I sometimes get a plot upside down, and it doesn't make any sense because I have not programmed any function to rotate my plot or something similar, Any idea? Thanks!
Answers (1)
Paulo Silva
on 28 Jul 2011
You may have something like this
set(gca,'ydir','reverse')
on your code
2 Comments
Andrea Gil
on 28 Jul 2011
Walter Roberson
on 28 Jul 2011
We will need to see a code example.
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!