how do i change the histogram color

13 次查看(过去 30 天)
for a rgb image i want to get red channel histogram in red color and 2nd channel histogram in green color and 3rd channel histogram in blue color
how do i do that
https://in.mathworks.com/matlabcentral/answers/181624-how-to-get-color-histogram-of-an-image?s_tid=answers_rc1-1_p1_MLT this is plot in above case but i want to change histogram color ,,i dont want plot

回答(1 个)

KSSV
KSSV 2018-10-25
bar(rand(100,1),3,'facecolor','r');
  1 个评论
juveria fatima
juveria fatima 2018-10-25
r_channel is satrting from -50 r_Channelblue is starting from 0 i want r_Channelblue in red color or r_channel starting from 0 axis

请先登录,再进行评论。

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by