XYLADDER
Name
XYLADDER
Purpose
Creates horizontally- and vertically-stacked ladder plots.
Category
Plot
Calling Sequence
Result = XYLADDER(NX,NY)
Inputs
NX: Number of plots in the horizontal direction.
NY: Number of plots in the vertical direction.
Keyword Parameters
XRANGE: The x-range of the plots in normalized units. Default: [0.1,0.9]
YRANGE: The y-range of the plots in normalized units. Default: [0.1,0.9]
ISOTROPIC: If set, each panel is a square.
Outputs
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).
Example
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]
Modification History
Written by: Jeremy Bailin
12 June 2008 Public release in JBIU
13 June 2011 Added /ISTROPIC keyword