The XTickLabel command is not working properly.
Afficher commentaires plus anciens
I am trying to set the 2D graph axis label using h.XTickLabel = dx*h.XTick. Problem comes when I am stretching the graph.
First I plotted the graph ticks as 0,80,160,240,300, using above command. However when I am stretching the figure, axis numbers changes. Matlab automatically created almost twice of subdivisions and now the axis ticks are 0,80,160,240,300,0,80,160,240.
Réponse acceptée
Plus de réponses (1)
Catégories
En savoir plus sur Grid Lines, Tick Values, and Labels dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!