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

Home » Public Forums » archive » Re: problems plotting LARGE amounts of 2D data?
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: problems plotting LARGE amounts of 2D data? [message #1722 is a reply to message #1717] Tue, 22 February 1994 18:36 Go to previous messageGo to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
Michael Cheng (mcheng@dunlop.cs.wisc.edu) wrote:

: Hi

: I am trying to find ways to plot LARGE amounts of 2D data,
: and I like to know what is currently the state of the art. For the
: sake of this posting, let's say "large" means much more data than
: fits in real memory. From my own experience, using the virtual memory
: of the workstation to store large amounts of data impedes performance
: due to excessive paging. Here is what I have been able to gather so far:

: 3)idl/pvwave: As far as I can tell from the short demo,
: loads everything into virtual memory?

IDL and PV-Wave have a 'associated' variable type, which lets you
map an array onto a disk file, and then step through the disk file
one slice at a time. For example,

openr, lun, 'myfile.dat', /get_lun
data = assoc(lun,bytarr(1024,1024))

associated the variable name data with the contents of file myfile.dat.
Nothing has been read yet. Then the statement

slice = data(10)

will load the 11th bytarr(1024,1024) contained in the file into working
memory. A statement like

data(10) = byte(fft(data(10)))

will read, process, and replace the 11th array in the disk file.

So, if you can access data in a nice order, so that you don't have to
go out to disk all the time, you can work with enormous data sets.

Something like this should also work for plotting a 2D data set.

Hope this helps.

- Peter
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Emacs mode for .pro files???
Next Topic: Problems with Server Mode

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

Current Time: Sun Nov 30 01:48:13 PST 2025

Total time taken to generate the page: 0.48383 seconds