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

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