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

Home » Public Forums » archive » Memory problems update.
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: Memory Problems [message #6759 is a reply to message #241] Thu, 15 August 1996 00:00 Go to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
"J.D. Smith" <jdsmith@astrosun.tn.cornell.edu> writes:

> I am having memory problems when attempting to print a 2-d image to
> postscript. The images display without problem under the X device (with
> seemingly as many windows displaying as I could want), but when I
> "set_plot,'PS'" and run the same display commands, I get a "Unable to
> allocate array: Not enough memory" message. I am using IDL 4.0.1 on a
> SPARC IPX. Any thoughts?

I suspect that what you're doing is generating a new image sized to fit the
amount of graphics area available. PostScript files contain an enormous number
of pixels that you can write to. It's like having a 24130x17780 monitor to
play around with.

The way to get around this is to use the scalable pixel feature of PostScript.
This is done by using the XSIZE and YSIZE keywords with the TV or TVSCL
command.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: crossspectra
Next Topic: calling fortran subroutines in .dll from IDL

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

Current Time: Tue Oct 21 09:06:53 PDT 2025

Total time taken to generate the page: 0.88015 seconds