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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to