フィルターのクリア

Hiding x and y axes, but leaving top and right axes visible?

1 回表示 (過去 30 日間)
Erik J
Erik J 2018 年 10 月 9 日
コメント済み: Erik J 2018 年 10 月 10 日
I have a plot and I want to leave the top and right axes but hide the traditional x and y axes. I cannot figure out a way to do this. Any ideas? Thank you!

採用された回答

Kevin Chng
Kevin Chng 2018 年 10 月 9 日
Hi Erik,
plot([0 1],[0 1])
set(gca,'XAxisLocation','top','YAxisLocation','right');
Is this what you want?
  1 件のコメント
Erik J
Erik J 2018 年 10 月 10 日
Ah, perfect. Thank you.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by