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

Home » Public Forums » archive » Re: Using PS_START to create A4 Landscape postscript?
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: Using PS_START to create A4 Landscape postscript? [message #77873 is a reply to message #77869] Thu, 29 September 2011 16:36 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Rob writes:

> I'm sure this is simple but I can't quite get it to work.
>
> I want to create an A4 landscape postscript file where the plot takes
> up the entire window (i.e. no margins).
>
> I thought I could do this: PS_Start, FILENAME='plot.ps', chasize=1,
> landscape=1, page='A4' but it doesn't seem to work.
>
> I specifically don't want to use the psconfig GUI as this needs to run
> in a loop and create multiple plots, but I thought I could set the
> keywords in ps_start without needing to use ps_config.
>
> Can someone point me in the right direction?

What you are doing here is setting the page size
and orientation of the plot. You are not doing
anything to set the "window" on the PostScript
page where the plot will be located.

Presumably "it doesn't seem to work" means you
don't like the defaults PS_Start is choosing for
you. If so, then by all means choose your own.
The XSIZE, YSIZE, XOFFSET and YOFFSET keywords
are the ones you want to use.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Theil-Sen slope estimator algorithm?
Next Topic: Getting ROI data from an image

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

Current Time: Fri Oct 10 10:52:02 PDT 2025

Total time taken to generate the page: 1.67541 seconds