On 11/15/2011 05:44 AM, astrowilson wrote:
>
> Hey everyone,
>
> I'm doing a dissertation where I need to vary the size of the points in a 2D
> plot. Now I know that you can change the size of every point by changing the
> value of markersize to any integer value you want, but how do you put in an
> array so that every point is a specific size?
>
> Thanks
Use scatter.
http://matplotlib.sourceforge.net/examples/pylab_examples/scatter_demo2.html
Watch out for the way the size is specified: area, not radius.
Eric
|