R2020aではどうすれば軸の方向を反転できますか?
62 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
グラフの軸の反転のやり方を探していて、以下にあったサンプルコードを試しに実行してみたのですが、図のように反転されず通常通りの表示になってしまいます。

サンプルコード
figure(1)
stem(1:10)
ax = gca;
ax.XDir = 'reverse';
ax.YDir = 'reverse';
バージョンはR2020aです。このバージョンではXdirは使えないのでしょうか。そうでしたら、他にどのような方法があるのでしょうか。
3 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur 2 次元および 3 次元プロット dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!