plot/
xyladder.pro
top source xyladder
Plot
result = xyladder(nx, ny, xrange=xrange, yrange=yrange, isotropic=isotropic)
Creates horizontally- and vertically-stacked ladder plots.
Return value
A 4xNXxNY array containing the normalized position coordinates for each plot. Result[*,IX,IY] are the normalized coordinates for horizontal plot IX (from left to right) and vertical plot IY (from bottom to top).
Parameters
- nx in
Number of plots in the horizontal direction.
- ny in
Number of plots in the vertical direction.
Keywords
- xrange in
The x-range of the plots in normalized units. Default: [0.1,0.9]
- yrange in
The y-range of the plots in normalized units. Default: [0.1,0.9]
- isotropic in
If set, each panel is a square.
Examples
ladderpos = XYLADDER(2,2)
PLOT, x1, y1, POS=ladderpos[*,0,0]
PLOT, x2, y2, /NOERASE, YTICKFORMAT='(A1)', POS=ladderpos[*,1,0]
PLOT, x3, y3, /NOERASE, XTICKFORMAT='(A1)', POS=ladderpos[*,0,1]
PLOT, x4, y4, /NOERASE, XTICKFORMAT='(A1)', YTICKFORMAT='(A1)',
POS=ladderpos[*,1,1]
Author information
- History:
Written by: Jeremy Bailin 12 June 2008 Public release in JBIU 13 June 2011 Added /ISTROPIC keyword
File attributes
| Modification date: | Mon Jun 13 16:53:45 2011 |
| Lines: | 94 |
![[attach.png]](../idldoc-resources/attach.png)