Display Markers At Specific Data Points
古いコメントを表示
Greetings
when i run this comman
plot(t_010_tbc_r_002,stress_010_01,'-o','MarkerIndices',1:10:length(stress_010_01))
it gives me this error
Error using plot
There is no MarkerIndices property on the Line class.
Error in Results (line 194)
plot(t_010_tbc_r_002,stress_010_01,'--o','MarkerIndices',1:10:length(stress_010_01))
reasons???
2 件のコメント
Erivelton Gualter
2019 年 11 月 18 日
It does not seems to be wrong.
Run the following code and see if it works fine:
x = linspace(0,10);
y = sin(x);
plot(x,y,'-o','MarkerIndices',1:5:length(y))
Tahir Afareen
2019 年 11 月 18 日
採用された回答
その他の回答 (1 件)
the cyclist
2019 年 11 月 18 日
編集済み: Steven Lord
2023 年 10 月 25 日
1 投票
The marker indices functionality was introduced in version R2016b. If you have an older version, then you'll get an error.
[SL: fixed typo in version number]
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!