removing numbers on axis without removing the grid lines
88 ビュー (過去 30 日間)
古いコメントを表示
Hi all
When I use following command to remove numbers on the -y axis of a graph, it also removes the grid lines. How can I keep the grid lines?
set(gca,'YTick',[])
Regards
Suleyman
0 件のコメント
採用された回答
その他の回答 (2 件)
Achilleas
2018 年 7 月 23 日
The aforementioned solution didn't work for me, meaning that I wasn't able to activate the grid minor choice.
So, I used this 'xticklabel',num2str('').
C. Nwachoma
2018 年 9 月 25 日
How do you reverse the process in case you remove the numbering on the wrong axis?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Axis Labels についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!