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
Question: plots not working [message #86564] Tue, 19 November 2013 17:40 Go to previous message
Simcha Levental is currently offline  Simcha Levental
Messages: 2
Registered: November 2013
Junior Member
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...
[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: Wed Oct 08 13:37:52 PDT 2025

Total time taken to generate the page: 0.00346 seconds