>> From: Robert Israel "israel"
Try replacing shading=z with something like this:
colour = [C(x,y,20), 0, 1-C(x,y,20)]
In general, the colour value can be a list of three expressions,
representing the RGB (red-green-blue) components. If the components
are not in the range 0..1, they will be transformed into that range.
Robert Israel "israel"
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2
On Sun, 9 Feb 2003, Erik Leunissen wrote:
> L.S.
>
> I've constructed a 3D plot, using the following two commands:
>
> > groptions :=shading=z, axes=boxed, style=patchnogrid,
> orientation=[-90,0], labels=[`X `,`Y `,`C `],numpoints=1000 :
> > plot3d(C(x,y,20),x=-10..10, y=-10..10,groptions);
>
> Is it possible to control/modify the colors of such a plot, while
> maintaining the effect of the option `shading=z' ?
>
> Thanks for any help,
>
> Erik Leunissen
> ==============
>
|