Slightly easier than
hc = circle(...);
set(hc, 'Property', value)

would be to change, in circle.m, the 'style' argument to 'varargin', and pass all those additional arguments straight to plot, ie.
H=plot(X,Y,varargin{:});

Must work with the specified starting and the ending angle.

04 May 2008

Joe Daady

25 Apr 2008

Ricardo Peligroso

Excellent function, couldn't believe that there wasn't a simple in-built one! Thank you! :)

05 Apr 2008

eyap candir

a missing function for matlab thanks to author

11 Sep 2007

Jao Tao Mao Ying Ling Ping Golf

Don't eat carrots.

31 Aug 2007

tom tomo

07 Aug 2007

Jens H.

---
t = linspace(0, 2*pi, Number_of_points);
plot(r*cos(t),r*sin(t),'style')
--
also works well!

31 Jul 2007

sam s

22 Jun 2007

PONTHEP VENGSUNGNLE

Interest!
Thang you sir
From thailand

31 May 2007

mohammad t moravej

nice usage of the pol2cart command.
if one is to use rectangle command to draw a circle,it should be noticed that the axis aspect ratios also should be set to equal ratiots or the circle plot will seem an ellipse.(use daspect([1 1 1])

09 May 2007

lila naseri

17 Mar 2007

Joerg Buchholz

Matlab's built-in "rectangle" command can draw circles if you use the curvature parameter: