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

3 次查看(过去 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 .

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Object Properties 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by