title: boxplot the data of the y-axis of a scatter plot using matlab
body: <p>What I basically want to do is to have boxplots for one data set on a scatter plot using Matlab.<br>
  We can do the scatter plot with <code>scatter(X, Y)</code> and instead of the points corresponding to <code>Y</code>, I would like to have boxplots.<br>
  Something like <code>scatter(X, (boxplot(Y))</code> - which of course does not work.</p>
  
  <p>Have been searching high and low but could not find a relevant answer, or even something similar.  </p>
  
  <p>The scatter-points from the left-hand side have to be replaced with box plots as on the right:</p>
  
  <p><img src="https://i.stack.imgur.com/nFsph.png" alt="example"></p>