How to remove small indicator lines in the x and y-axis of a plot?

8 次查看(过去 30 天)
Dear all,
Here is my plot:
As you can see in every label there is an annoying small line (which I highlighted them using light blue circles). I want to keep
box on
But remove them in top and right and bottom.
Thank you

采纳的回答

Serhii Tetora
Serhii Tetora 2020-5-4
You can remove this small lines with axes property 'TickLength':
set(gca,'TickLength',[0 0])

更多回答(0 个)

类别

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

标签

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by