How to display only grid on axes (without values)?
7 ビュー (過去 30 日間)
古いコメントを表示
Csanad Levente Balogh
2021 年 2 月 14 日
回答済み: Walter Roberson
2021 年 2 月 14 日
Hi All!
I want to do a plot, where the grid of the y axes in displayed, but there is no y values. I tried:
set(gca,'ytick',[]);
With that command the y values disappear. Then I use:
ax = gca;
ax.YGrid = 'on';
But the grid doesn't reappear. I soppose that with the sirt command, I make the y axes grid and values invisible, and than if I make a change to them, they still won't appear? But I'm just guessing. Is there a way to show the grid, but hide the values?
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Graphics Object Properties についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!