Arrays for markersize?

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

···


View this message in context: http://old.nabble.com/Arrays-for-markersize--tp32848359p32848359.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

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

···

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