## Re: [Matplotlib-users] How is the size value used to generate symbols?

 Re: [Matplotlib-users] How is the size value used to generate symbols? From: Neil Crighton - 2008-05-24 09:04:53 ```Thanks! I also found the description under the class RegularPolyCollection in collections.py: * sizes gives the area of the circle circumscribing the regular polygon in points^2 Neil Manuel wrote: > 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 > > 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. > ```

### Thread view

 [Matplotlib-users] How is the size value used to generate symbols? From: Neil Crighton - 2008-05-23 15:41:35 ```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. Thanks, Neil ```
 Re: [Matplotlib-users] How is the size value used to generate symbols? From: Manuel Metz - 2008-05-23 16:12:04 ```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@... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users ```
 Re: [Matplotlib-users] How is the size value used to generate symbols? From: Neil Crighton - 2008-05-24 09:04:53 ```Thanks! I also found the description under the class RegularPolyCollection in collections.py: * sizes gives the area of the circle circumscribing the regular polygon in points^2 Neil Manuel wrote: > 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 > > 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. > ```

## Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks