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

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2022 年 6 月 25 日
編集済み: Bjorn Gustavsson 2022 年 6 月 25 日

0 投票

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

質問済み:

2022 年 6 月 25 日

編集済み:

2022 年 6 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by