|
Re: changing IDLgrAxis and IDLgrSurface ranges [message #17703 is a reply to message #17702] |
Tue, 09 November 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Todd Bowers (tbowers@nrlssc.navy.mil) writes:
> My question is in the handleMenuEvents code, how do I tell the surface
> to draw only a limited range of itself. Unfortunately there are no keywords
> like viewXRange, viewYRange, viewZRange to the setProperty method so I can
> tell it that even though the data ranges in x from 0 to 100, just
> realize the surface from 10 to 50. A very ugly solution is to pass the
> dataX, dataY, and dataZ arrays or a reference to them (can't use
> getProperty to retrieve the data), chop them up to the new ranges and stick
> these in new arrays, create a new surface, etc. Hideous.
I think the hideous choice is the only choice in this case. :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|