The colors come from the current colormap.  You can go all out and
make your own colormap and color based on index using your map.  I
don't know how to do that off the top of my head though.

On 8/21/06, rich kowalczyk <[EMAIL PROTECTED]> wrote:
> I understand that 3D plotting is not fully working yet, but I have a
> question that might be answerable anyway.
>
> I can get a nice looking 3D plot of my data using
>
> surf = ax3d.plot_surface(x, y, z)
>
> but I can't control the colors used in the plot.  I can do a
>
> surf.set_array(ColorArray)
>
> and the contents of the array (ColorArray) will be translated into
> colors on the plot somehow, but the translation appears to be
> arbitrary.  Does anyone know how the translation is done, so that I
> can assign a certain color to a certain part of the plot?
>
> Thanks,
> Rich.
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to