comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: changing IDLgrAxis and IDLgrSurface ranges
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: changing IDLgrAxis and IDLgrSurface ranges [message #17702] Tue, 09 November 1999 00:00
T Bowers is currently offline  T Bowers
Messages: 56
Registered: May 1998
Member
uhhhh... that's not the answer you're supposed to give. :)

t

David Fanning <davidf@dfanning.com> wrote in message
news:MPG.1291f80a9a1a6869989953@news.frii.com...
> Todd Bowers (tbowers@nrlssc.navy.mil) writes:
>
>> 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
Re: changing IDLgrAxis and IDLgrSurface ranges [message #17703 is a reply to message #17702] Tue, 09 November 1999 00:00 Go to previous message
davidf is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New Drawing Color Object
Next Topic: changing IDLgrAxis and IDLgrSurface ranges

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:53:42 PDT 2025

Total time taken to generate the page: 0.00500 seconds