How to increase marker size in scatter plot?

1 869 vues (au cours des 30 derniers jours)
Bruno
Bruno le 18 Avr 2017
Commenté : Ola Fekry le 27 Mar 2023
I tried to increase the marker size:
scatter(X,Y,'+','k', 'MarkerSize', 10);
How to increase the size (e.g. twice bigger '+')?

Réponse acceptée

Stephen23
Stephen23 le 18 Avr 2017
Modifié(e) : Stephen23 le 18 Avr 2017
According to the scatter documentation, like this:
scatter(X,Y,20,'k','+')
^ this is the size
  5 commentaires
Igor Yashayaev
Igor Yashayaev le 11 Nov 2022
I retract my statement ... The trick is that you need to indicate much larger size than you would in plot(). I tried 10 before, and the markers remained small, but 15 showed some growth.
Ola Fekry
Ola Fekry le 27 Mar 2023
thanks so much

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by