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 :)

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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 25 Jun 2022

Edited:

on 25 Jun 2022

Community Treasure Hunt

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

Start Hunting!