disable border blue in scatter plot

4 次查看(过去 30 天)
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 个评论
Salvatore Mazzarino
I add markeredgecolour
scatter(heads(:,2),heads(:,3),'^','markerfacecolor','red','markeredgecolour','red');
I got an error

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by