How to turn off X axis while keeping the X axis grid lines?
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Athul C P
le 5 Nov 2021
Commenté : Athul C P
le 6 Nov 2021

set(gca,'XTick',[],'fontweight' , 'bold','fontsize',12); xlim([0 122]); grid on ;
0 commentaires
Réponse acceptée
Sudharsana Iyengar
le 5 Nov 2021
Hi
Please try this and see if this is what you wanted.
grid on
set(gca,'Xticklabel',{})
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Title dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!