How to create axis with perfect square ticks
Afficher commentaires plus anciens
What should I do to plot my data along a y axis such as this:

Réponse acceptée
Plus de réponses (1)
yticks((1:50).^2)
if you just want to change the labels you can use
yticklabels((1:50).^2)
Catégories
En savoir plus sur Axis 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!