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

Home » Public Forums » archive » problem
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: Problem [message #80549 is a reply to message #80459] Sun, 17 June 2012 17:48 Go to previous messageGo to previous message
hadi is currently offline  hadi
Messages: 33
Registered: June 2012
Member
On Saturday, June 16, 2012 3:32:34 AM UTC+9, Andy Sayer wrote:
> Some examples would be:
>
> curve = [0,1,2,3,4]
> curve = 3*findgen(10)^2.0
> curve = sin(findgen(100)*!pi/180.)
>
> (or whatever values your curve wants to take)
>
> On Thursday, June 14, 2012 9:27:07 PM UTC-4, fada...@gmail.com wrote:
>> On Friday, June 15, 2012 1:32:15 AM UTC+9, Paulo Penteado wrote:
>>> On Jun 14, 6:05 am, fadaei...@gmail.com wrote:
>>>> for example i wrote the curve in the command line i found this message.
>>>> curve
>>>> % Attempt to call undefined procedure/function: 'CURVE'.
>>>> % Error occurred at: $MAIN$
>>>> % Execution halted at: $MAIN$
>>>> I can not understand the meaning of this experession. Could you help me about this. Thank you
>>>> Best, Hadi
>>>
>>> IDL is not Python. It only executes statements (ex:
>>> "something=something_else"), procedures (ex:
>>> "some_procedure,some_argument"), or commands (ex: ".continue"). If you
>>> just type in the command line a variable name, it will assume you are
>>> calling a procedure with that name. If you want to know about a
>>> variable, you need to use some command. For instance:
>>>
>>> print,some_variable
>>> help,some_variable
>>> print,n_elements(some_variable)
>>> print,size(some_variable)
>>>
>>> etc.
>>
>> Dear
>> How i can define a variable in the IDL for example define CURVE. I will be appreciate to helping me. Thank you
>> Best, Hadi

Dear Andy
Thank you for your guidance.
Hadi
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Removing and Replacing Nan values in IDL
Next Topic: Rescaling byte (0-200) ndvi to -1 to 1 values

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

Current Time: Thu Oct 09 22:21:25 PDT 2025

Total time taken to generate the page: 0.23909 seconds