change contrast(brightness) of the scatter plot
2 次查看(过去 30 天)
显示 更早的评论
a=1; b=200; scatter(a,b,1000,'r','filled')
how can i modify the contrast(to light red color or dark red color)
0 个评论
回答(1 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!