Re: Polyshade and Postscript (beginner) [message #33217 is a reply to message #33119] |
Wed, 11 December 2002 08:22  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Simon de Vet (sdevet@is2.dal.ca) writes:
> This runs without error and generates the 'myvolume.ps' file, but the
> file is empty - no plot.
>
> On second glance, the file probably isn't empty - it's listed at 208 Mb,
> so it's probably breaking my viewer.
I'm pretty sure that is not MBytes. KBytes, maybe. An image
of 300 by 300 on my machine produces a PostScript file
of about 262 KBytes.
If it really is MBytes, you better tell us more about
your IDL version, machine, and the size of your image. :-)
> Any tips on making this a bit smaller? (my data set is 20x20x20)
Your data set doesn't have anything to do with it.
What you want to know is how big your image is. This
will be a reflection of the size of your current graphics
window (or, if none is open, the default size of the graphics
window) when you run your SCALE3 command.
(You did run everything *outside* the PostScript device,
didn't you? Only going into the PostScript device to display
the image, as I indicated in my code? If you try to produce
the display inside the PostScript device it could, I suppose,
be 208 MBytes! Those PostScript device coordinates are about
25 times smaller than display coordinates, which will make your
file about 25 times larger!)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|