3D axes ticks get truncated when figure window is not maximized
2 ビュー (過去 30 日間)
古いコメントを表示
I have a plot with axis titles that have large font-size. I would like to save the plot when the figure window snaps to the left or right (i.e. takes 50% of my screen), however, this truncates the ticks for my plot.
I prefer the 50% snapped view as it does not stretch my plot


How can I fix this without changing my font size (I have used the xlim([928 933]) command to ensure the axis limits are constant, the odd ticks disappear when my figure window size is reduced, I would like to see these ticks at this window size)
0 件のコメント
回答 (1 件)
Voss
2023 年 3 月 7 日
Set the xticks manually (like you set the xlim manually):
xticks(928:933)
Maybe the yticks too:
yticks(200:100:600)
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!