fill
Fill a polygonal area in data space
Call signature:
fill(xx, yy)
Help text:
fill(xx, yy) draws a polygon with vertices at (xx,yy). The polygon is automatically closed (i.e., it is not necessary for xx[-1] to equal xx[0]).
The polygon is filled with the current brush.
xx and yy are given in data coordinates. See also poly and gpoly.
Example:

import qplot as qp

import numpy as np

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

qp.brush('g')

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

qp.fill(np.cos(xx), np.sin(xx))

qp.brush('r', .5)

qp.fill(np.sin(xx), np.cos(xx))