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

Home » Public Forums » archive » reading large multicolumn data 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 large multicolumn data file [message #72145] Thu, 05 August 2010 16:54
bio_amateur is currently offline  bio_amateur
Messages: 7
Registered: August 2010
Junior Member
I have a data file (a few hundreds MB). This is a text file in the
format X Y1 Y2 Y3 (first column is the common x-axis data, next
columns are data). I can read the data and plot easily with xmgrace
using

xmgrace -nxy data.dat

which take a few seconds to plot. Now, I want to use IDL to read this
file and display using iTool. What I did was

data = read_ascii(filename)
myPlotData = data.(0)
rows = (size(myPlotData, /dimension))[0]
for ii=1, rows do begin
iPlot, myPlotData[0,*], myPlotData[ii,*], /overplot
end

This method takes so long. Could someone good at this can point out a
solution for me.

Thanks,
Tuan

Dept. Bioinformatics and Computational Biology
GMU
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: segmentation fault IDL 6.3 fedora core 13
Next Topic: Differences in the convolution function between IDL and MATLAB

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

Current Time: Wed Oct 08 13:47:15 PDT 2025

Total time taken to generate the page: 0.00560 seconds