Re: Two little questions: [message #37176] |
Wed, 03 December 2003 14:50 |
andrew.cool
Messages: 47 Registered: July 2003
|
Member |
|
|
"Nuno Oliveira" <df23775@hotmail.com> wrote in message news:<bqi3km$r6n$1@pegasus.fccn.pt>...
> Two little questions:
>
>
>
> 1.. Sometimes I use the function PICKFILE. Don't ask where did I get it,
> but I did. The fact is this function doesn't appear on my quick reference.
> Two issues on my question: what parameters to this function (as I want to
> insert a limitation on the files to open and maybe other things) and how in
> IDL is going to get this function?
>
>
> 2.. His there a way to display text (in the case a index number) on window
> draw type, made with direct graphics?
Hi Nuno,
Try using Help,/Source to see where your compiled programs come from.
In the case of Pickfile, Help,/source shows :-
Compiled Functions:
PICKFILE C:\RSI\IDL60\lib\obsolete\pickfile.pro
Note the *obsolete* directory under RSI's main library of IDL routines.
Andrew
DSTO, Adelaide, Australia
|
|
|
Re: Two little questions: [message #37192 is a reply to message #37176] |
Tue, 02 December 2003 06:12  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Nuno Oliveira writes:
> 1.. Sometimes I use the function PICKFILE. Don't ask where did I get it,
> but I did. The fact is this function doesn't appear on my quick reference.
> Two issues on my question: what parameters to this function (as I want to
> insert a limitation on the files to open and maybe other things) and how in
> IDL is going to get this function?
Well, I confess I use PICKFILE, too. :-)
But only from the IDL command line when I am in
a hurry. When it counts, I use DIALOG_PICKFILE,
and so should you. PICKFILE is no longer supported
by RSI.
But to do what you want to do, I think you are going
to have to write your own file opening tool. I've
thought about it myself, but it just seems like too
much work. My SELECTIMAGE routine is about as close
as I ever got, but I still go back to DIALOG_PICKFILE
to browse.
> 2.. His there a way to display text (in the case a index number) on window
> draw type, made with direct graphics?
XYOUTS.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|