Alphabetical list Categories
qpatch Draw a polygonal patch in data space
Help text:

qpatch(xx, yy) draws a polygon with vertices at (xx,yy). The polygon is closed (i.e., it is not necessary for xx(end) to equal xx(1)).
The polygon is filled with the current brush.
xx and yy are given in data coordinates. See also qarea and qgarea.

Example:

qfigure('qpatch', 3, 3);

qbrush g

qpatch(cos(0:pi/3:2*pi), sin(0:pi/3:2*pi));

qbrush r .5

qpatch(sin(0:pi/3:2*pi), cos(0:pi/3:2*pi));

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