Plot, marker, setting appearance

2 vues (au cours des 30 derniers jours)
Ionut  Anghel
Ionut Anghel le 7 Juil 2015
Modifié(e) : bio lim le 7 Juil 2015
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

Réponse acceptée

bio lim
bio lim le 7 Juil 2015
Modifié(e) : bio lim le 7 Juil 2015
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')

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by