Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How to combine 2 picture as single histogram plot?

Asked by Bakka on 7 Mar 2014
Latest activity Commented on by Image Analyst on 7 Mar 2014

Hi everyone, My program has comparing 2 image in histogram plot,they show in GUI axes. but how to make single plot histogram, by comparing 2 different image? so, in one axes of histogram contain 2 plot histogram of 2 imagesplease need your advice, many thanks



1 Answer

Answer by Walter Roberson on 7 Mar 2014
Accepted answer

plot one, then

hold on

then plot the other one with either x or y values adjusted to separate the two as desired.


Bakka on 7 Mar 2014

Hi Mr. Walter could you please tell me with the codes? i don't have any idea for that

Image Analyst on 7 Mar 2014

See my attached demo.

Walter Roberson

Contact us