laying out multiple plots
Question:
How can I lay out an arbitrary number of plots in Ferret?
Example:
Solution:
The DEFINE VIEWPORT command is used to define custom viewports. The graphic above uses fifteen separate viewports:
define viewport/xlimits=0.000,0.200/ylim=0.7,0.999 t1 define viewport/xlimits=0.000,0.200/ylim=0.4,0.7 m1 define viewport/xlimits=0.000,0.200/ylim=0.000,0.3 b1 define viewport/xlimits=0.200,0.400/ylim=0.7,0.999 t2 define viewport/xlimits=0.200,0.400/ylim=0.4,0.7 m2 define viewport/xlimits=0.200,0.400/ylim=0.000,0.3 b2 define viewport/xlimits=0.400,0.600/ylim=0.7,0.999 t3 define viewport/xlimits=0.400,0.600/ylim=0.4,0.7 m3 define viewport/xlimits=0.400,0.600/ylim=0.000,0.3 b3 define viewport/xlimits=0.600,0.800/ylim=0.7,0.999 t4 define viewport/xlimits=0.600,0.800/ylim=0.4,0.7 m4 define viewport/xlimits=0.600,0.800/ylim=0.000,0.3 b4 define viewport/xlimits=0.800,0.999/ylim=0.7,0.999 t5 define viewport/xlimits=0.800,0.999/ylim=0.4,0.7 m5 define viewport/xlimits=0.800,0.999/ylim=0.000,0.3 b5
The script multi_view.jnl defines a grid of multiple viewports.
yes? go/help multi_view