フィルターのクリア

write on xaxis of graph

2 ビュー (過去 30 日間)
Elysi Cochin
Elysi Cochin 2014 年 10 月 28 日
編集済み: Elysi Cochin 2014 年 10 月 28 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeDirected Graphs についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by