How to remove small indicator lines in the x and y-axis of a plot?
10 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
Serhii Tetora
on 4 May 2020
You can remove this small lines with axes property 'TickLength':
set(gca,'TickLength',[0 0])
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!