change contrast(brightness) of the scatter plot

조회 수: 1 (최근 30일)
shaz
shaz 2012년 12월 13일
a=1; b=200; scatter(a,b,1000,'r','filled')
how can i modify the contrast(to light red color or dark red color)

답변 (1개)

Walter Roberson
Walter Roberson 2012년 12월 13일
I'm not sure what you mean by "contrast" in this case? You can set() the color of the underlying axes, or you can use an RGB triple when you set the color.
scatter(a, b, 1000, [0.5 0 0]); %medium red

카테고리

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