Plot multiple histograms in one figure and re-plot the overlay histogram
Show older comments
I used the code provided by Image Analyst to plot multiple RGB histograms in one figure, the result is shown in the following figure.

I want plot a new histogram based on the overlaid histograms. I don't know how to put it in words about what I want to do but it is something like this...

I'm not sure how to do it. Can anyone help me please?
3 Comments
Crystiano Martins
on 9 Jul 2015
Hi , can u send the code u made ? i think u want to do somethink like this :
figure(1);
im = imread('name1.jpg');
im2 = imread('name2.jpg');
im3 = imread('name3.jpg');
imhist(im);
hold on
imhist(im2);
hold on
imhist(im3);
Lim
on 11 Jul 2015
Lim
on 22 Jul 2015
Answers (0)
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!