title: How to plot bar with different height and differenth width in matlab?
body: <p>I am having a big problem in Matlab, because it seems that I want to do something that is not so usual.</p>
  
  <p>Basically I am trying to implement a way of group distribution together called Vincentizing.In order to do that I am following the instruction of a paper (<em>Ratcliff 1979 - Group Reaction Time Distributions and an Analysis of Distribution Statistics</em>).  Everything is fine until I have to plot the actual graph. I have an array that contains the quantiles of my dataset. The tutorial I am following says: </p>
  
  <p>distribution histograms can be constructed by plotting quantiles on the abscissa and then constructing rectangles between adjacent quantiles such that all the rectangles have equal areas, as in Figure 2 (link of the image below)</p>
  
  <p><a href="http://postimg.org/image/btftrd6y7/" rel="nofollow">http://postimg.org/image/btftrd6y7/</a></p>
  
  <p>Once I calculate the quantiles, I can set the area to some value, let's say 10, and I can therefore calculate the height of each bar. The width of each bar is the distance between two adjacent quantiles, and of course I can calculate that as well. I have all the information I need, but I don't know how to plot a graph. How can, in matlab, plot I graph like the one in figure?
  (it seems that I can plot histogram of different width, but with the hist function I cannot actually specify the height. With the bar function, however, I <em>can</em> specify the height but it seems I cannot change the width..)</p>
  
  <p>Every help is appreciated. </p>