title: MATLAB: How to change color of imhist and size of window?
body: <p>I have:</p>
  
  <pre><code>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);
  </code></pre>
  
  <p>How can I change colors of the histogram to Red, Green and Blue?<br>
  How can I change size of window tha appears?</p>
  
  <p><strong>EDIT:</strong><br>
  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?</p>