write on xaxis of graph
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Elysi Cochin
le 28 Oct 2014
Modifié(e) : Elysi Cochin
le 28 Oct 2014
i wrote the below code for plotting a time graph... in the xtick label i want the 2 points to be named as PCA and LDA.... when i do as below i'm not getting it correctly...
0 commentaires
Réponse acceptée
Mischa Kim
le 28 Oct 2014
Elysi, not quite sure, what you need to do, but this does the trick:
set(gca,'XTickLabel',{'PCA', 'LDA'},'XTick',[1 2]);
1 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Directed Graphs dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!