I have:
img = imread('pic.jpg','jpg');
r = img(:,:,1);
g = img(:,:,2);
b = img(:,:,3);
subplot(3,1,1);
imhist(r);
subplot(3,1,2);
imhist(g);
subplot(3,1,3);
imhist(b);
How can I change colors of the histogram to Red, Green and Blue?
How can I change size of window tha appears?
EDIT:
Luis Miguel's answer regarding size of window works, but what if I want just to change height of window and left other parameneters (x, y, width) unchanged?