Shade_Surf and Shade_Vol Question [message #1972] |
Tue, 19 April 1994 12:56 |
pwalker
Messages: 5 Registered: February 1994
|
Junior Member |
|
|
Hello.
I'm having a bit of trouble with shade_surf not doing what I think it
should. I'd like to make a surface plot of a function which is shaded
like an object, but has a color map based on functions. shade= ()
doesn't quite do the trick, as it obliterates any surface type
shading. Basically, if I have an array, I'd like to combine the
effect of looking at it with tv,bytscl(array) and shade_surface,array
to give me a colored surface sitting in 3 space.
So, is it possible to get the shading/color array that
shade_surf generates, so I can then modulate this "light/dark" array
based on normals with another array based on data.
Has anyone done anything like this before? Any help would be
appreciated.
Paul Walker
pwalker@ncsa.uiuc.edu
http://jean-luc.ncsa.uiuc.edu/
|
|
|