Value dash outside a 2D plot

1 vue (au cours des 30 derniers jours)
Reto Kurz
Reto Kurz le 25 Juin 2022
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
You can do this:
set(gca,'TickDir','out')
HTH

Catégories

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

Translated by