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

Home » Public Forums » archive » Re: Multiple image plots in 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: Multiple image plots in postscript [message #919 is a reply to message #918] Wed, 17 March 1993 08:46 Go to previous messageGo to previous message
thompson is currently offline  thompson
Messages: 584
Registered: August 1991
Senior Member
jdlb@kukui.ifa.hawaii.edu (J-F Pitot de La Beaujardiere) writes:

> kevin@dipl.rdd.lmsc.lockheed.com (Kevin Anderson) writes:

>> Does anybody know how to put multiple image plots on 1
>> page in postscript using pvwave CL?
>> [...]
>> The only way I have discovered to get multiple image plots
>> on the same postscript page is to use the position parameter
>> when calling tv or tvscl, but now the problem is the images
>> are again scaled to the entire size of the plot area.


> Because PostScript has scalable pixels, you must specify the xsize and
> ysize parameters, as well as the position parameter, in TV or TVSCL.
> I don't know about PV-Wave, but the following works in IDL:

> ; Display four images in a 2x2 grid
> ; Assume data(x,y,4) = array containing the 4 images

> set_plot, 'ps' ;request PostScript output
> device, ... ;modify page size, orientation, etc. as desired
> ximsize = 0.5*!d.x_size ;define output image size
> yimsize = 0.5*!d.y_size ;note: 0.5 assumes 2x2 grid
> for i=0,3 do begin ;display the 4 images, using i as position index
> tv, data(*,*,i), i, xsize=ximsize, ysize=yimsize
> endfor


> Hope this helps,
> Jeff

> % Jeff de La Beaujardiere % jdlb@mamane.ifa.hawaii.edu %
> % Institute for Astronomy % 808-956-9843 %
> % University of Hawai`i % fax 956-9402 %

This sounds like another one for the new FAQ.

Bill Thompson
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: A couple of questions
Next Topic: Re: Readf and line lenght limit

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

Current Time: Wed Oct 08 19:17:23 PDT 2025

Total time taken to generate the page: 0.00387 seconds