how do i change the histogram color

20 vues (au cours des 30 derniers jours)
juveria fatima
juveria fatima le 25 Oct 2018
Commenté : juveria fatima le 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

Réponses (1)

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

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by