title: How to use different marker for different point in scatter plot pylab
body: <p>I want to use the scatter plot function of pylab</p>
  
  <pre><code>x = [1,2,3,4,5]
  y = [2,1,3,6,7]
  </code></pre>
  
  <p>there are two clusters in this 5 points, index 1-2(cluster 1) and index 2-4 (cluster 2). The point in cluster 1 should use marker '^', whereas the point in cluster 2 should use marker 's'. so</p>
  
  <pre><code>cluster = ['^','^','^','s','s']
  </code></pre>
  
  <p>I have tried</p>
  
  <pre><code>fig, ax = pl.subplots()
  ax.scatter(x,y,marker=cluster)
  pl.show()
  </code></pre>
  
  <p>This is a toy example, real data have more than 10000 samples</p>