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

Home » Public Forums » archive » Re: fsc_surface update
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: fsc_surface update [message #40190 is a reply to message #40183] Tue, 13 July 2004 17:48 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
balogna writes:

> I'm using fsc_surface to visualize data. However the user must be able to
> select which data they would like to display. Is there anyway to change
> the data that fsc_surface is plotting? Or do I have to kill the window
> and then create another one?

My goodness! 15 years I've been writing IDL programs and
finally one or two people are using them! You can't imagine
how excited I am. :-)

Well, FSC_Surface was written more or less as a direct
substitution for the Surface command. You don't necessarily
have to kill the window to visualize another surface. Just
start up another FSC_Surface command:

IDL> FSC_Surface, dist(40)
IDL> FSC_Surface, Findgen(30)#Findgen(30)

The two windows operate independently.

There are any number of problems with switching
the data in the program. Primarily because this
is an object graphics program, which means NOTHING
is all that easy. It is not a matter of just switching
the data in the IDLgrSurface object. I would also have
to re-scale all the axis objects, recompute the font
objects, etc. It's possible, but the non-object format
of the program itself discourages the attempt.

On the other hand, do you have any money
for the deluxe version? :-)

> If the latter is true how to I get the
> window/widget id from fsc_surface?

What would you do with it if you got it? Have you
worked with any object graphics programs before?
This would not be as useful to you as you might think,
I expect.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL string input HELP!!
Next Topic: Filename as a Variable: Help requested

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

Current Time: Sat Oct 11 19:06:25 PDT 2025

Total time taken to generate the page: 0.00470 seconds