title: Semi-transparent markers in Matlab Figures
body: <p>I want to plot a scatter plot with filled markers and make them semi-transparent so when two or more markers overlap, the overlapping area will be more opaque.</p>
  
  <p>I naively thought</p>
  
  <pre><code>sg = scatter(rand(1000,1),rand(1000,1), 'filled');
  alpha(0.5)
  </code></pre>
  
  <p>would work, but it doesn't. Also</p>
  
  <pre><code>set(get(sg, 'Children'), 'FaceAlpha', 0.2)
  </code></pre>
  
  <p>doesn't work. Any ideas?</p>