How can I use MarkerIndices with plot?
x = linspace(-10,10,101);
y = sin(x);
plot(x, y, 'color', 'blue', ...
'LineStyle','-', ...
'Marker', 's', ...
'MarkerIndices', [1, 5, 10], ...
'MarkerEdgeColor', 'black',...
'MarkerFaceColor','yellow');
Error message
Error using plot
There is no MarkerIndices property on the Line class.
Error in plotting3 (line 4)
plot(x, y, 'color', 'blue', ...