Version (2.28 KB) by M MA
Fill outside a 2-D polygon
Updated 24 Mar 2006

View License

While Matlab FILL, fills inside a polygon, FILLOUT fills outside a boundary. The boundary can be a continuous line, defined by the vectors X,Y or a region defined by the 2-D arrays X,Y.


X, Y Boundary vectors (continuous) or 2-D arrays.
LIM Outer limite box, like AXIS, ie, [minX maxX minY maxY], by default the limits of the data is used
VARARGIN Any options of the FILL command. By default the fill color FaceColor) is green and the EdgeColor is none

The screenshot shows the example on the help

Cite As

M MA (2024). fillout (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Elementary Polygons in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes