Alphabetical list Categories
figure Open a QPlot figure
Call signature:

figure(fn=None, w=5, h=None)

Help text:

figure(fn, w, h) opens a new qplot figure with given filename and size in inches. If h is omitted, h defaults to 3/4 w. If w is also omitted, w defaults to 5 inches.
fn = figure('', w, h) opens a new QPlot figure of given size (in inches) with a temporary filename.

Example:

import qplot as qp

import numpy as np

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

qp.plot(np.arange(0, 10, .1), np.cos(np.arange(0, 10, .1)))

QPlot Documentation — (C) Daniel Wagenaar, 2014–2023