Hi All,

I have been trying to make a 3D scatter plot using mplot3d and I would
like the markers to have their colour according to the Z value.
>From what I understood in the tutorial and API I have to use the cmap
and norm kwargs, but all my attempts failed.

I am trying to do it like this:
ax.scatter(x,y,z,s=10,marker='o',c=????,cmap=????,norm=????)

However I am not sure what to pass to c, cmap and norm.

Any help ?
Thanks.

Cheers,
Pedro

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to