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

Home » Public Forums » archive » Question: plots not working
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: Question: plots not working [message #86566 is a reply to message #86564] Tue, 19 November 2013 20:22 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to create 4D data matrix from 1D arrays?
Next Topic: How to find (where) the first non NAN value in an array?

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

Current Time: Fri Oct 10 06:54:00 PDT 2025

Total time taken to generate the page: 0.08136 seconds