plotting marker at partcular index

1 回表示 (過去 30 日間)
Thayumanavan
Thayumanavan 2014 年 5 月 19 日
コメント済み: Thayumanavan 2014 年 5 月 21 日
I have set of eigen values in array format 19 column 8 eigen values real and imaginary part along with 1 parameter.6000*19 array I am reading the 19 arrays from xcel using xlsread command . I want to insert a marker at a particular index say 1500 while plotting the eigen values plot(Real1,Imag1,'*g',Real2,Imag2,'dg'.....Real8,Imag8)
How to do that?please give ur suggestions.

採用された回答

Jos (10584)
Jos (10584) 2014 年 5 月 19 日
I might have misinterpreted your question ...
To plot a marker at a particular index of a list of (x,y) values, try this example
xy = rand(10,2) ;
IX = 3 ; % mark point 3
plot(xy(:,1),xy(:,2),'b-') ; % blue lines
hold on ;
plot(xy(IX,1),xy(IX,2),'rs') ; % red square marker
hold off ;
Note that you can combine the two plot commands into a single one.
  1 件のコメント
Thayumanavan
Thayumanavan 2014 年 5 月 21 日
Thanks sir

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by