How to remove/edit the grid axis short-line from the matlab graph using Edit->Figure properties

2 ビュー (過去 30 日間)
Dear Everyone,
I have a question regarding the Matlab graph on x,y-axis in figure properties settings. Actually, how can I manually adjust the length of the grid axis lines as highlighted from my attached figure? Also, is that possible how can I manually remove them on the grid axis by using the Figure properties option.
I tried to do it on the Edit -> Figure properties -> More properties -> Figure:axes. But somehow it doesn't work.
Please run the attached simple matlab files : workspace and mfile.
Thanks, appreciate if someone can help.

採用された回答

Vineeth Nair
Vineeth Nair 2018 年 8 月 29 日
In the Figure:Axes window that you opened, if you expand the TICKS properties, there is an option called TickLength. There you can adjust the tick length to zero , to remove it, or edit it to your desired value. For more information regarding tick length, you can refer the documentation here .
You will find various options to adjust the properties of tick in this same window. For more details refer this link .
  2 件のコメント
John Long Soon
John Long Soon 2018 年 8 月 29 日
Hi Vineeth Nair,
Thanks for the useful hints. It works fine now.
Regards, John

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Objects についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by