upside down plot in GUI
조회 수: 2 (최근 30일)
이전 댓글 표시
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!
댓글 수: 0
답변 (1개)
Paulo Silva
2011년 7월 28일
You may have something like this
set(gca,'ydir','reverse')
on your code
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!