Alphabetical list Categories
plot Draw a line series in data space
Call signature:

plot(xx, yy=None)

Help text:

plot(xx, yy) plots the data yy vs xx. xx and yy are given in data coordinates.
plot(yy) plots the data against x = 1..N.
See also line and gline.

Example:

import qplot as qp

import numpy as np

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

xx = np.arange(0, 2*np.pi, .1)

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

yy = np.cos(xx)

yy[np.abs(yy)<.1] = np.nan

qp.plot(xx, yy)

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