How to draw a filled semi circle?(like the one in the image) Thanks,
5 views (last 30 days)
Show older comments

0 Comments
Accepted Answer
Star Strider
on 13 Nov 2014
This works:
r = 1;
semicrc = r.*[cos(0:0.1:pi); sin(0:0.1:pi)];
figure(1)
area(semicrc(1,:), semicrc(2,:), 'FaceColor','b')
axis equal
2 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!