Apparently it wasn't recent enough - I updated to the latest svn and
now they are sizing properly - thanks!

Another oddity I've noticed, though - if I do

ax.scatter3D(x,y,z,s=30*rand(20),c=rand(20))

I would expect to see the points colored based on a color map for the
supplied scalar values.  Instead, they all appear white.  If I do
rand(20,3) , it gives random colors, but that's specifying r,g,b
values instead of scalar mapping.  Is there a way to do the color
mapping directly as in the 2D scatter? (If not, it's of course
possible to manually apply the mapping - just less convinient)

On Mon, Jan 18, 2010 at 11:49 PM, Matthias Michler
<matthiasmich...@gmx.net> wrote:
> Hi Erik,
>
> with current svn I see markers of different size. What version of matplotlib
> you are using?
>
> Kind regards,
> Matthias
>
> On Monday 18 January 2010 21:38:25 Erik Tollerud wrote:
>> Is there a way to change the sizes of scatter plot markers for
>> mplot3d.Axes3D.scatter3d ? I do
>>
>> from mpl_toolkits.mplot3d import Axes3D
>> ax = Axes3D(gcf())
>>
>> x,y,z = randn(3,20)
>> ax.scatter(x,y,z,s=30*rand(20))
>>
>> and I expect to see 20 points of a range of sizes from 1 to 30... but
>> instead I see them all the same size.  How can I set the size of the
>> markers?
>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to