Changing XDir permanent to reverse
29 ビュー (過去 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 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!