Alphabetical list Categories
garea2 Generalized area drawing
Call signature:

garea2(vglcs)

Help text:

garea2 is to patch and area as gline2 is to plot and line.
All the same commands are supported.

Example:

import pyqplot as qp

import numpy as np

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

xx = np.linspace(-np.pi, np.pi, 50)

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

qp.pen('none')

qp.brush('r', .5)

xxx = np.stack((xx, np.flip(xx, 0)))

yyy = np.stack((0*xx+36, 0*xx+72))

qp.garea2([qp.AbsData(xxx, np.sin(xxx)),

qp.RelPaper(0*xxx, yyy)])

QPlot Documentation — (C) Daniel Wagenaar, 2019