Alphabetical list Categories
skyline Skyline plot (bar plot)
Call signature:

skyline(xx, yy, y0=0)

Help text:

skyline(xx, yy) draws a bar plot of yy vs xx with bars touching.
skyline(xx, yy, y0) specifies the baseline of the plot; default is 0.
(Note that yy is not relative to y0.)

Example:

import qplot as qp

import numpy as np

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

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

yy = np.sin(xx)

qp.brush('666')

qp.skyline(xx, yy)

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