Display Markers At Specific Data Points
Ältere Kommentare anzeigen
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 Kommentare
Erivelton Gualter
am 18 Nov. 2019
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
am 18 Nov. 2019
Akzeptierte Antwort
Weitere Antworten (1)
the cyclist
am 18 Nov. 2019
Bearbeitet: Steven Lord
am 25 Okt. 2023
1 Stimme
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]
1 Kommentar
Tahir Afareen
am 18 Nov. 2019
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!