write on xaxis of graph
조회 수: 2 (최근 30일)
이전 댓글 표시
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
채택된 답변
Mischa Kim
2014년 10월 28일
Elysi, not quite sure, what you need to do, but this does the trick:
set(gca,'XTickLabel',{'PCA', 'LDA'},'XTick',[1 2]);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Directed Graphs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!