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

サンプルコード
figure(1)
stem(1:10)
ax = gca;
ax.XDir = 'reverse';
ax.YDir = 'reverse';
バージョンはR2020aです。このバージョンではXdirは使えないのでしょうか。そうでしたら、他にどのような方法があるのでしょうか。
3 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu 2 次元および 3 次元プロット finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!