Re: Question: plots not working [message #86593 is a reply to message #86566] |
Thu, 21 November 2013 15:44  |
Simcha Levental
Messages: 2 Registered: November 2013
|
Junior Member |
|
|
Thanks. Though I discovered that it was a version error.
On Tuesday, November 19, 2013 9:22:28 PM UTC-7, David Fanning wrote:
> Simcha Levental writes:
>
>
>
>> I am hoping someone can help me; understand why I am not able to get plots from IDL. I keep getting
>
>> "% Incorrect number of arguments.
>
>> % Execution halted at: $MAIN$ "
>
>> Thanks,
>
>> s
>
>>
>
>> IDL> cd, 'C:\Users\slevental\Documents\IDL_coursefiles'
>
>> IDL> file1 = filepath('chirp.dat', subdir=['examples', 'data'])
>
>> IDL> chirp= read_binary(file1, data_dims=512, data_type=1)
>
>> IDL> help, (chirp)
>
>> CHIRP BYTE = Array[512]
>
>> IDL> file2= file_which('marbells.dat')
>
>> % Compiled module: FILE_WHICH.
>
>> IDL> restore, file2
>
>> IDL> help, elev
>
>> ELEV INT = Array[350, 450]
>
>> IDL> p = plot(chirp)
>
>> % Compiled module: COLORBAR__DEFINE.
>
>> % Incorrect number of arguments.
>
>> % Execution halted at: $MAIN$
>
>>
>
>>
>
>> Theoretically, I should be getting
>
>> % Compiled module: FILE_WHICH.
>
>> and the graphic widow should appear...
>
>
>
> Try typing .Reset, then execute these commands again. I think you will
>
> have better luck the second time. :-)
>
>
>
> Cheers,
>
>
>
> David
>
>
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|