Re: Wave/IDL - Multi Plot Query [message #1793] |
Tue, 25 January 1994 01:57 |
sjt
Messages: 72 Registered: November 1993
|
Member |
|
|
In article <gnaa38.759066583@aero.gla.ac.uk>, gnaa38@aero.gla.ac.uk (Paul Porcelli) writes:
|> Is it possible to have multiple plots on a screen which are of various sizes.
|> Also, is it possible to place them in a particular portion of the screen.
|> Thanks in advance.
|>
|> --
|> Paul Porcelli
|> E-Mail: gnaa38@aero.gla.ac.uk
Yes it is. You need to determine the corners in normalized coordinates and the use one of:
The POSITION keyword, the !P.POSITION system variable or the !P.REGION system variable. All take a 4 element array [x0,y0,x1,y1]. The first 2 determine the corners of the actual data window so the annotatin will lie outside this area (usefule if you want to butt plots right up together, the last determines the box to contain plot and annotation, this is probably the best as a "different sized !p.multi" substitute. eg to make 3 plots to a page 1 on the left half and two one above the other on the right you
might use:
!P.region = [0., 0., 0.5, 1.0] ; Left half
plot......
!p.region = [0.5, 0.5, 1.0, 1.0] ; Top right
plot...
!p.region = [0.5, 0.0, 0.5, 1.0] ; Bottom right
plot...
--
James Tappin, School of Physics & Space Research
University of Birmingham
|
|
|