Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

how to plot 3/4 of a circle...

$
0
0
Hi, I need your urgent help please, I have been asked to plot 3/4 of the below circle starting from point (10,0) and ending point (0,10).
rho = 180/pi
alpha = [0:pi/18:2*180]
R = 10
x1 = R * cos(alpha)+ 10
y1 = R * sin(alpha)+ 10

% ****************** Plotting *****************
plot(x1,y1, 'go', 'LineWidth', 1, 'MarkerSize', 4)
grid on
axis equal

axis ([-15 15 -15 15])
Thanks in advance for the help
axis ([-10 10 -10 10])

Viewing all articles
Browse latest Browse all 19628

Trending Articles