Value dash outside a 2D plot

2 次查看(过去 30 天)
Reto Kurz
Reto Kurz 2022-6-25
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 :)

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2022-6-25
编辑:Bjorn Gustavsson 2022-6-25
You can do this:
set(gca,'TickDir','out')
HTH

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by