Value dash outside a 2D plot

I have noticed that in all 2D plots, the dashes of the values on an axis are shown on the inside. Is it possible to show them outside the graph?
I leave you an example attached.
Thank you very much :)

Réponses (1)

Bjorn Gustavsson
Bjorn Gustavsson le 25 Juin 2022
Modifié(e) : Bjorn Gustavsson le 25 Juin 2022

0 votes

You can do this:
set(gca,'TickDir','out')
HTH

Catégories

En savoir plus sur 2-D and 3-D Plots 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!

Translated by