title: R colour percentage bin histogram
body: <p>how can I get an histogram in R such that the colour of each bin corresponds to the percentage of ok/valid/true cases of the total? I mean, the histogram shows the number of cases per bin, so I get the distribution over all the x-range. However, I would like also to fill each bin with a colour showing which was the percentage of any condition (satisfactory, true...) in each interval...</p>
  
  <p>Any help is welcome! Thank you!!</p>