Effacer les filtres
Effacer les filtres

disable border blue in scatter plot

10 vues (au cours des 30 derniers jours)
Salvatore Mazzarino
Salvatore Mazzarino le 26 Sep 2012
I'm building a scatter plot and I would that some points in the plot should be red.
scatter(nodes(:,2),nodes(:,3),'filled');
hold on;
scatter(heads(:,2),heads(:,3),'^','markerfacecolor','red');
unfortunately if they are red they have still the border blu.How can I delete the blue border?

Réponse acceptée

Robert Cumming
Robert Cumming le 26 Sep 2012
you also need to set the markeredgecolour property
  2 commentaires
Salvatore Mazzarino
Salvatore Mazzarino le 26 Sep 2012
I add markeredgecolour
scatter(heads(:,2),heads(:,3),'^','markerfacecolor','red','markeredgecolour','red');
I got an error
Salvatore Mazzarino
Salvatore Mazzarino le 26 Sep 2012
ok now work...it was markeredgecolor

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Scatter 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