M-File Help: plot_poly

M-File Help: plot_poly | View code for plot_poly

# plot_poly

Draw a polygon

plot_poly(p, options) draws a polygon defined by columns of p (2xN), in the current plot.

## OPTIONS

'fill', F | the color of the circle's interior, MATLAB color spec
'alpha', A | transparency of the filled circle: 0=transparent, 1=solid.

## Notes

- If P (3xN) the polygon is drawn in 3D
- The line(s) is added to the current plot.

## See also

plot_box, patch, Polygon

© 1990-2014 Peter Corke.