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

Home » Public Forums » archive » reading data from file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading data from file [message #49221] Thu, 06 July 2006 08:55
Nicola is currently offline  Nicola
Messages: 21
Registered: November 2005
Junior Member
Hi all
I'm facing this problem (probably for most of you this is not a
problem). I've a file of ascii data of the following form:
Some header of text, and then a unique column of data written down as
follow (for simplicity I put them all equal to 0)

0
0
0
0

0
0
0
0

0
0
0
0

ect...
I mean a series of column of the same lenght N repeated M times. They
represents a Matrix or a double-array of the form fltarr(N,M). If one
is used to gnuplot you can plot it with

splot 'file.txt' u 1

I would like to read it in IDL in order to plot the data but I do not
have idea how to implement it, taking into account the data file could
be of the order of 50 MB.
Sorry if this represents a question for dummies but any suggestion will
be appreciated
Regards
Nicola
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Objects and Widgets
Next Topic: reading past leading and training bytes

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

Current Time: Wed Oct 08 13:48:52 PDT 2025

Total time taken to generate the page: 0.00681 seconds