How to remove XTick labels without removing XTicks?

15 vues (au cours des 30 derniers jours)
Muhammad Ali Sher
Muhammad Ali Sher le 9 Déc 2020
Réponse apportée : Jan le 9 Déc 2020
Hello,
i mean i want to remove the XTick labels (not hide them) with displaying XTicks. As i am plotting like shown in the figure attached, lot of my space is captured by the XTick Labels. i want a trick so that i can plot like in the second figure attached.
  1 commentaire
Looky
Looky le 9 Déc 2020
Modifié(e) : Looky le 9 Déc 2020
Have you tried to just remove the labels? Something like this:
myaxis=gca;
myaxis.XTickLabel= { } ;

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 9 Déc 2020

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by