Is there a way to remove individual tick labels
5 ビュー (過去 30 日間)
古いコメントを表示
II would like to remove the top right y-axis tick label (but not all the tick labels).
Is there a way to do this?
0 件のコメント
採用された回答
Walter Roberson
2016 年 1 月 28 日
ax = gca; %or as appropriate
yticklabels = get(ax, 'YTickLabel');
yticklabels{end} = ''; %needs to exist but make it empty
set(ax, 'YTickLabel', yticklabels);
0 件のコメント
その他の回答 (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!