Plots Limits in Matlab
조회 수: 6 (최근 30일)
이전 댓글 표시
Hi,
I want the X asis to plot from 1 to -1 and I tired to do xlim[(1 -1)] and -1 to 1 It didn't work, I want i to start from 1 and end in -1 which is reverse than normal plots what I got it from -1 to 1 on te plot?
댓글 수: 0
채택된 답변
Ameer Hamza
2020년 11월 26일
You need to set xdir property to 'reverse'
xlim([-1 1])
set(gca, 'xdir', 'reverse')
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!