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

Home » Public Forums » archive » Sizing Postscript output
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Sizing Postscript output [message #403] Thu, 27 August 1992 05:51 Go to previous message
kaplan is currently offline  kaplan
Messages: 1
Registered: August 1992
Junior Member
I need a reliable way to make WYSIWYG X-window plots of what will eventually
be postscript driven paper output. The basic problem seems to be controlling
the relationship between font size and plot size.

Currently, in order to make postscript output of PV-WAVE graphs, I have been
opening a postscript device as follows:

set_plot,'ps'
device,filename='graph.ps',xsize=6.0,ysize=6.0,/inches,yoffs et=2,xoffset=+1

and then I resume plotting to the screen something like this:

device,/close
set_plot,'X'
window,0,xsize=500,ysize=500

For different plots, I play with the obvious parameters in the device line.

Does anyone know a formula relating X-window pixel sizes to postscript sizes.
Something which requires me to measure my X-window pixels before beginning
would be just fine.

Many thanks,

Peter (kaplan@sol1.lrsm.upenn.edu)
[Message index]
 
Read Message
Read Message
Previous Topic: Giant crosshairs
Next Topic: WANTED: 2 IDL routines

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

Current Time: Wed Oct 08 17:14:34 PDT 2025

Total time taken to generate the page: 0.00357 seconds