disable border blue in scatter plot

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?

 採用された回答

Robert Cumming
Robert Cumming 2012 年 9 月 26 日

0 投票

you also need to set the markeredgecolour property

2 件のコメント

Salvatore Mazzarino
Salvatore Mazzarino 2012 年 9 月 26 日
I add markeredgecolour
scatter(heads(:,2),heads(:,3),'^','markerfacecolor','red','markeredgecolour','red');
I got an error
Salvatore Mazzarino
Salvatore Mazzarino 2012 年 9 月 26 日
ok now work...it was markeredgecolor

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by