How to remove XTick labels without removing XTicks?
古いコメントを表示
Hello,
i mean i want to remove the XTick labels (not hide them) with displaying XTicks. As i am plotting like shown in the figure attached, lot of my space is captured by the XTick Labels. i want a trick so that i can plot like in the second figure attached.


1 件のコメント
Have you tried to just remove the labels? Something like this:
myaxis=gca;
myaxis.XTickLabel= { } ;
回答 (1 件)
Jan
2020 年 12 月 9 日
1 投票
- https://www.mathworks.com/matlabcentral/fileexchange/81858-subplots-subplotting-made-easy
- https://www.mathworks.com/matlabcentral/fileexchange/68326-border-less-tight-subplot-auto-refresh
- https://www.mathworks.com/matlabcentral/fileexchange/42763-subplot-position-calculator
- https://www.mathworks.com/matlabcentral/fileexchange/27991-tight_subplot-nh-nw-gap-marg_h-marg_w
- https://www.mathworks.com/matlabcentral/fileexchange/49270-scalesubplot-fig-varargin
You see, searching in the FileExchange is a good point to solve standard problems.
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!