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

 채택된 답변

Mischa Kim
Mischa Kim 2014년 10월 28일

1 개 추천

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

댓글 수: 1

Elysi Cochin
Elysi Cochin 2014년 10월 28일
편집: Elysi Cochin 2014년 10월 28일
thank you sir for the reply...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Networks에 대해 자세히 알아보기

태그

질문:

2014년 10월 28일

편집:

2014년 10월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by