Personal tools
You are here: Home FAQ laying out multiple plots
Document Actions

laying out multiple plots

Question:

How can I lay out an arbitrary number of plots in Ferret?

Example:


plot layout

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

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: