How could I change the Linewidth of XTick or YTick without changing the Box or Edge lineWidth?
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
jonas
le 17 Oct 2018
You have to dig through the undocumented properties, but its possible
ax.XAxis.MajorTickChild.LineWidth = 2
Plus de réponses (1)
Bruce Rodenborn
le 4 Août 2020
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.

0 commentaires
Voir également
Catégories
En savoir plus sur Axis Labels dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!