R2020aではどうすれば軸の方向を反転できますか?
48 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
グラフの軸の反転のやり方を探していて、以下にあったサンプルコードを試しに実行してみたのですが、図のように反転されず通常通りの表示になってしまいます。

サンプルコード
figure(1)
stem(1:10)
ax = gca;
ax.XDir = 'reverse';
ax.YDir = 'reverse';
バージョンはR2020aです。このバージョンではXdirは使えないのでしょうか。そうでしたら、他にどのような方法があるのでしょうか。
3 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre 2 次元および 3 次元プロット en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!