R2020aではどうすれば軸の方向を反転できますか?
47 views (last 30 days)
Show older comments
グラフの軸の反転のやり方を探していて、以下にあったサンプルコードを試しに実行してみたのですが、図のように反転されず通常通りの表示になってしまいます。

サンプルコード
figure(1)
stem(1:10)
ax = gca;
ax.XDir = 'reverse';
ax.YDir = 'reverse';
バージョンはR2020aです。このバージョンではXdirは使えないのでしょうか。そうでしたら、他にどのような方法があるのでしょうか。
3 Comments
Answers (0)
See Also
Categories
Find more on 2 次元および 3 次元プロット 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!