Plot, marker, setting appearance

1 次查看(过去 30 天)
Hi, there is anyway to set the Marker appearance such that it will not appeat too often. For example I would like that my marker should appear as in case of data2 not as in case of data1.
Thank you

采纳的回答

bio lim
bio lim 2015-7-7
编辑:bio lim 2015-7-7
This question has been asked many times. 1 2 3
The number of markers depend on number of data points you have in. However, you can plot a subset of your data1 (Plot the data1 as a line first, then plot the sample points of your data1) to decrease the number of markers.
plot(data1, '-b');
hold on;
plot(data1(1:5:end), '>b')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by