Alphabetical list Categories
panel Define a new subpanel or reenter a previous one
Call signature:

panel(id, rect=None)

Help text:

panel(id, (x, y, w, h)) defines a new panel. (x, y, w, h) are specified in points. (x, y) are measured from top left.
panel(id) revisits a previously defined panel. id must be a single capital or None to revert to the top level.
See also subplot and relpanel.

Example:

import pyqplot as qp

import numpy as np

qp.figure('panel', 3, 3)

xx = np.linspace(0, 3*np.pi, 1000)

qp.plot(xx, np.sin(xx))

qp.shrink(1)

qp.pen(pattern='dash')

qp.brush('777')

qp.panel('B', np.array([2.1, 2.3, .9, .7])*72)

qp.pen(pattern='solid')

qp.plot(xx, np.cos(xx))

qp.shrink(5)

QPlot Documentation — (C) Daniel Wagenaar, 2019