Re: [Matplotlib-users] 3d Plotting

2006-08-22 Thread rich kowalczyk
> 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.

The colors may come from the colormap, but how do they get assigned to
areas of the plot itself?  The most obvious way to do it is to index
by z, so areas with low z are shown with a cool color, and areas with
high z are shown with a hot color (assuming you are using a cold-hot
colormap).

As far as I can tell though, this is not the system currently used,
nor is there any coherent system used.

-
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


[Matplotlib-users] 3d Plotting

2006-08-21 Thread rich kowalczyk
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