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

Home » Public Forums » archive » readcol problems
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
readcol problems [message #49493] Wed, 02 August 2006 07:07 Go to previous message
Amanda is currently offline  Amanda
Messages: 12
Registered: August 2006
Junior Member
I'm pretty new to IDL and don't know much about it.

I'm trying to use the readcol function but I keep getting errors
"variable
is undefined", "attempt to call undefined procedure/function:
'NUMLINES'"
and sometimes it can't seem to find my .dat file. I'm guessing I must
be
missing some horribly obvious line to get the "variable undefined"
error
but I don't know why I keep getting the Numlines error. I don't need it
to count the number of lines, I just want to plot x against y.

I'm using a windows version and this is the code I'm using:

PRO test, x, y

readcol, 'test.dat', x, y, f='f,f,'

plot, x, y, psym=2

END

Any help would be greatly appreciated. :)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: question about readf
Next Topic: Reading ASCII data from multiple files into one array?

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

Current Time: Wed Oct 08 13:16:23 PDT 2025

Total time taken to generate the page: 0.00618 seconds