필터 지우기
필터 지우기

disable border blue in scatter plot

조회 수: 10 (최근 30일)
Salvatore Mazzarino
Salvatore Mazzarino 2012년 9월 26일
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
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개)

카테고리

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