How could I change the Linewidth of XTick or YTick without changing the Box or Edge lineWidth?
30 ビュー (過去 30 日間)
古いコメントを表示
I want to change the linewidth of XTick and YTick of the plot, so that I can see the difference between box or edge line and XTick or YTick.
0 件のコメント
採用された回答
jonas
2018 年 10 月 17 日
You have to dig through the undocumented properties, but its possible
ax.XAxis.MajorTickChild.LineWidth = 2
その他の回答 (1 件)
Bruce Rodenborn
2020 年 8 月 4 日
Apparently this is no longer and option in MATLAB 2020a. Cannot understand why I have control of minor tick widths, but not major ticks except as a global change to the linewidth of the plot, which affects the box.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/341308/image.png)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!