File Exchange

image thumbnail

Sector Plot

version (1.14 KB) by Laine Berhane Kahsay
Plots a filled sector.


Updated 23 Feb 2004

No License

Plots a filled sector given a starting angle and a central angle (of the sector).

Cite As

Laine Berhane Kahsay (2021). Sector Plot (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Carl Witthoft

A bit late, but if anyone is stuck like Norouzi was: just add the X,Y coordinates of your desired center to every point generated with this function.

David Ponce

mandana Norouzi

How can I change the center of this sector from (0,0) to another point?



Great program !

Warning: on line 49, 'else' should be replaced by 'elseif' so that the radius input argument is taken into account !


Alexey Ayvanov


MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!