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

11 vues (au cours des 30 derniers jours)
BN
BN le 4 Mai 2020
Modifié(e) : BN le 4 Mai 2020
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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by