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

Home » Public Forums » archive » Re: Polyshade and Postscript (beginner)
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: Polyshade and Postscript (beginner) [message #33119] Wed, 11 December 2002 08:06 Go to previous message
Simon de Vet is currently offline  Simon de Vet
Messages: 36
Registered: May 2000
Member
David Fanning wrote:

> What you have in "volume" right now is a 2D image array.
> You want to TV that into a PostScript file. Things can
> get a LOT more elaborate than this, but this should get
> you started:
>
> thisDevice = !D.Name
> Set_Plot, 'PS'
> Device, XSize=6.5, YSize=6.5, /Inches, XOffset=1.0, $
> YOffset=2.25, Color=1, Bits_Per_Pixel=8, $
> Portrait = 1, Filename='myvolume.ps'
> TV, volume
> Device, /Close_File
> Set_Plot, thisDevice

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.

Any tips on making this a bit smaller? (my data set is 20x20x20)

-- Simon
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: *MOST* useful feature!
Next Topic: Cursor in the draw widget - please help

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

Current Time: Wed Oct 08 19:09:56 PDT 2025

Total time taken to generate the page: 0.00578 seconds