How to draw a filled semi circle?(like the one in the image) Thanks,
21 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
Categories
Find more on Printing and Saving in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!