Neil Crighton wrote:
> I'd like to plot values where the area of a marker is proportional to
> some value.  How is the size value given in, say:
> 
> scatter(x,y,'o',s=10)
> 
> used to generate the markers?  By eye it looks like the size value is
> proportional to the area (i.e. proportional to the radius squared for
> circle markers), but it would be nice to know for sure.

Hi Neil,

good eyes ;-) Have a look at the scatter documentation:

"s is a size in points^2.  It is a scalar
or an array of the same length as x and y."

Manuel

> Thanks,
> Neil
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to