Re: fsc_surface update [message #40190 is a reply to message #40183] |
Tue, 13 July 2004 17:48  |
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/
|
|
|