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

Home » Public Forums » archive » Re: Problem: !D.Y_SIZE in PS portrait
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Problem: !D.Y_SIZE in PS portrait [message #5182] Fri, 13 October 1995 00:00
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
rivers@cars3.uchicago.edu (Mark Rivers) writes:

> In article <45gq3d$g26@ikarus.rz.tu-clausthal.de>, heide@immr.tu-clausthal.de (Gerhard Heide) writes:
>> Hi,
>>
>> I want to use the system varibale !P.MULTI to plot multiple contour plot on
>> a page.
>>
>> Using set_plot='PS' in landscape mode I havn't problems, but in the portait
>> mode only the lower part of page is used by IDL.
>>
>> The !D.X_SIZE is corret (17780) but !D.Y_SIZE is to small (12700)!
>> This is half a page!
>>
>> Why? Who can I solve this problem?
>>
> The default setting of the PostScript device is to only use half the page.
> You need to set the size and offset.

> IDL> SET_PLOT, 'PS'
> IDL> device, xsize=7, ysize=9, yoffset=1, /inch

> (You'll want to look at the documentation on the PS device, the yoffset can
> be confusing and I may have got it wrong).

These are the parameters I use for portrait mode with PostScript. Of course,
they're for American 8.5x11 inch paper, and would need to be modified for
European A4 paper.

DEVICE, /PORTRAIT, /INCHES, XOFFSET=0.75, YOFFSET=0.75, $
XSIZE=7.0, YSIZE=9.5

It's only slightly different from Mark's suggestion.

Bill
Re: Problem: !D.Y_SIZE in PS portrait [message #5186 is a reply to message #5182] Thu, 12 October 1995 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <45gq3d$g26@ikarus.rz.tu-clausthal.de>, heide@immr.tu-clausthal.de (Gerhard Heide) writes:
> Hi,
>
> I want to use the system varibale !P.MULTI to plot multiple contour plot on
> a page.
>
> Using set_plot='PS' in landscape mode I havn't problems, but in the portait
> mode only the lower part of page is used by IDL.
>
> The !D.X_SIZE is corret (17780) but !D.Y_SIZE is to small (12700)!
> This is half a page!
>
> Why? Who can I solve this problem?
>
The default setting of the PostScript device is to only use half the page.
You need to set the size and offset.

IDL> SET_PLOT, 'PS'
IDL> device, xsize=7, ysize=9, yoffset=1, /inch

(You'll want to look at the documentation on the PS device, the yoffset can
be confusing and I may have got it wrong).

____________________________________________________________
Mark Rivers (312) 702-2279 (office)
CARS (312) 702-9951 (secretary)
Univ. of Chicago (312) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars3.uchicago.edu (Internet)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Linux Demo Problem
Next Topic: Bugs in IDL HDF routines

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

Current Time: Fri Oct 10 19:58:05 PDT 2025

Total time taken to generate the page: 0.71941 seconds