Draw a filled circle

Versión 1.0.0.0 (2,04 KB) por Sadik
Plots a filled circle with given radius, center and color.
8,2K Descargas
Actualizado 23 may 2010

Ver licencia

FILLEDCIRCLE Filled circle drawing

filledCircle(CENTER,R,N,COLOR) draws a circle filled with COLOR that has CENTER as its center and R as its radius, by using N points on the periphery.

Usage Examples,

filledCircle([1,3],3,1000,'b');
filledCircle([2,4],2,1000,'r');

If you would like to generate the screenshot image above, you could do this:

filledCircle([1,3],3,100,'k');
hold on
filledCircle([-0.25,4.25],1,100,'r');
filledCircle([2.5,3],1,100,'g');
filledCircle([0.1,1.7],1,100,'b');
axis off

Best.

Citar como

Sadik (2024). Draw a filled circle (https://www.mathworks.com/matlabcentral/fileexchange/27703-draw-a-filled-circle), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Surfaces, Volumes, and Polygons en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Draw a circle.

Inspiración para: circlem, circle plotter

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0