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
you also need to set the markeredgecolour property

2 个评论

I add markeredgecolour
scatter(heads(:,2),heads(:,3),'^','markerfacecolor','red','markeredgecolour','red');
I got an error
ok now work...it was markeredgecolor

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Scatter Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by