how do i change the histogram color

22 views (last 30 days)
juveria fatima
juveria fatima on 25 Oct 2018
Commented: juveria fatima on 25 Oct 2018
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

Answers (1)

KSSV
KSSV on 25 Oct 2018
bar(rand(100,1),3,'facecolor','r');
  1 Comment
juveria fatima
juveria fatima on 25 Oct 2018
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

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!