Changing XDir permanent to reverse
조회 수: 25 (최근 30일)
이전 댓글 표시
Hi again,
I got a new problem and missing a solution. I did a plotting in an axes after setting it XDir to reverse.
set(gca, 'XDir', 'reverse');
plot(vecA, vecB);
This is working well. Than I used
hold on;
and plotted something else
plot(vecC, vecD);
The result is that the axis changed back. :(
댓글 수: 0
답변 (2개)
Sean de Wolski
2013년 9월 24일
plot is a high-level functhat changes a bunch of properties automatically. If you don't want to change the other properties, call line directly.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!