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

Home » Public Forums » archive » Re: converting a string to an IDL command
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: converting a string to an IDL command [message #62393 is a reply to message #62391] Mon, 08 September 2008 10:14 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
Hi David,

lots of posts today, did you give up your new job already?
Not that anybody here would complain about that ... ;-)

Ciao,
Paolo

David Fanning wrote:
> Mark writes:
>
>> I find myself constantly doing things like:
>>
>> print,' min(x), max(x) ',min(x),max(x)
>>
>> Is is possible to do something along the lines of:
>>
>> char=' min(x),max(x) '
>> some_function,char
>>
>> where some_function would change char into one line of IDL code? That
>> is, if x=findgen(10)
>> sub_function would print something like:
>>
>> min(x),max(x) ,0.000 ,9.000
>>
>> Seems like this wouldn't be so hard. I'm interested in something that
>> would work with Unix.
>
> I think it might take all of 10 seconds to write your
> own MINMAX routine in IDL that did exactly what you have
> in mind. Then, you could do it all in *one* line! :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: map plotting
Next Topic: Re: inverse the axis

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

Current Time: Sun Oct 12 07:07:27 PDT 2025

Total time taken to generate the page: 0.80051 seconds