Plotting a circel using fill funtion
Mostrar comentarios más antiguos
I have to use the "fill" funtion to plot a circel. but i cant figure out how. I need to plot two circels. A red one with radius 0.1 and a blue one with radius 0.2.
Respuesta aceptada
Más respuestas (2)
Stinelino
el 24 de Feb. de 2015
0 votos
1 comentario
Star Strider
el 24 de Feb. de 2015
My pleasure!
Jos (10584)
el 24 de Feb. de 2015
You might also be interested in learning about the function rectangle, as in:
rectangle('curv',[1 1],'position',[0 0 1 1],'facecolor','b','edgecolor','b')
(Yeah, I know, sounds weird to draw a circle with rectangle ...)
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!