Value dash outside a 2D plot

1 view (last 30 days)
Reto Kurz
Reto Kurz on 25 Jun 2022
Edited: Bjorn Gustavsson on 25 Jun 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 :)

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 25 Jun 2022
Edited: Bjorn Gustavsson on 25 Jun 2022
You can do this:
set(gca,'TickDir','out')
HTH

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by