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...

 Akzeptierte Antwort

Mischa Kim
Mischa Kim am 28 Okt. 2014

1 Stimme

Elysi, not quite sure, what you need to do, but this does the trick:
set(gca,'XTickLabel',{'PCA', 'LDA'},'XTick',[1 2]);

1 Kommentar

Elysi Cochin
Elysi Cochin am 28 Okt. 2014
Bearbeitet: Elysi Cochin am 28 Okt. 2014
thank you sir for the reply...

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Networks finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by