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

Home » Public Forums » archive » Re: Color Printer limitations - Postscript resolution
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: Color Printer limitations - Postscript resolution [message #2010 is a reply to message #2006] Fri, 13 May 1994 06:49 Go to previous messageGo to previous message
landers is currently offline  landers
Messages: 45
Registered: May 1993
Member
I have also had problems with long color PS printing time (from PV-WAVE).

In my case, the plots are large color images. I discovered that I could
reduce the print time by reducing the resolution of the PS image. This did not
degrade my plots because of the nature of my data. I think that the
default PS image output is at around 300dpi, but this is just a guess. Reducing
this by 1/3 (to what I guess is 100 - close to what I see on my screen) makes the
files almost 1/9 the size, and reduces PS processing time accordingly.

You could do this by taking a 'snapshot' of the screen, but this 'pixelizes' any
text and lines in the plot, and can really get ugly if you resize it. I prefer to
do the re-scaling straight to the PS file from PV-WAVE.

To do this in PV-WAVE, I do:

scale = 3. ; the scale reduction factor
xsize = 6. ; the final x,y sizes of the plot (inches in this case)
ysize = 6.
SET_PLOT, 'PS'
DEVICE, /Color, Bits_Per_Pixel=8, Xsize=xsize/scale, Ysize=ysize/scale, $
/Inches, Scale_Factor=scale
!P.Charsize = 1./scale ; set character sizes - Scale_Factor doesn't affect them

< plot commands >
DEVICE, /Close
!P.Charsize = 1. ; reset it back to normal
SET_PLOT,'X' ; or whatever


Make sure that if you use Charsize keywords in your plot commands, to use them
relative to !P.Charsize or scale. Otherwise they'll turn out much too large.

Also, there is no !P.Symsize, so if you use plot symbols, you'll need to set
Symsize keywords relative to !P.Charsize, too.

Even if you want high resolution finals, you can use this for small, quick
previews.


I figured all this out by playing with DEVICE and PS and stuff. If I am going
about this the hard way, somebody let me know. There really ought to be a
Resolution keyword for the PS device to make this easier.

____________________________________________________________ _____
David Landers (214) 952-3910
M/S 8019
Texas Instruments landers@tsunami.dseg.ti.com
2501 W. University
McKinney, TX 75070
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Wavelet Routines
Next Topic: color for tvscl

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

Current Time: Fri Oct 10 03:22:21 PDT 2025

Total time taken to generate the page: 0.23923 seconds