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

Home » Public Forums » archive » Re: PRINTER device, TV, and image position
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: PRINTER device, TV, and image position [message #28185 is a reply to message #28184] Tue, 27 November 2001 07:14 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning (david@dfanning.com) writes:

> I'd do something like this to get three images centered
> on a landscape page of output:
>
> thisDevice = !D.Name
> keywords = PSWindow(/Printer, /Landscape, Fudge=0.25)
> Set_Plot, 'PRINTER'
> Device, Landscape = keywords.landscape
> Device, _Extra=keywords
> !P.Multi=[0,3,1]
> TVImage, image1, /Keep_Aspect
> TVImage, image2, /Keep_Aspect
> TVImage, image3, /Keep_Aspect
> !P.Multi = 0
> Set_Plot, thisDevice

Whoops! Of course, there would be a CLOSE_DOCUMENT
in there somewhere. :-)

thisDevice = !D.Name
keywords = PSWindow(/Printer, /Landscape, Fudge=0.25)
Set_Plot, 'PRINTER'
Device, Landscape = keywords.landscape
Device, _Extra=keywords
!P.Multi=[0,3,1]
TVImage, image1, /Keep_Aspect
TVImage, image2, /Keep_Aspect
TVImage, image3, /Keep_Aspect
!P.Multi = 0
Device, /Close_Document
Set_Plot, thisDevice

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Global chaos (was: Re: can i place a job advert)
Next Topic: Translate simple syntax from Matlab into IDL

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

Current Time: Sat Oct 11 11:34:36 PDT 2025

Total time taken to generate the page: 0.95933 seconds