ARCPATCH creates a semicircle wedge as a MATLAB patch


Updated 2 Oct 2007

No License

ARCPATCH creates a semicircle wedge as a MATLAB patch. Useful for highlighting the angle between two lines, low level pie chart creation, etc.

arcpatch(x,y,r,[phi0 phi1])
h = archpatch(...)

Creates an arcpatch with center (x,y), radius r, and from either [zero to phi] degrees or from [phi0 to phi1] degress. Optionally returns the patch handle.

See also PATCH (built-in)
See also CIRCULARC (File ID#4082) available from the File Exchange

Cite As

Todd Pataky (2023). ARCPATCH (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Pie Charts 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