Hiding x and y axes, but leaving top and right axes visible?
1 回表示 (過去 30 日間)
古いコメントを表示
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!
0 件のコメント
採用された回答
Kevin Chng
2018 年 10 月 9 日
Hi Erik,
plot([0 1],[0 1])
set(gca,'XAxisLocation','top','YAxisLocation','right');
Is this what you want?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!