can this plotted circle be filled? it needs to have a solid color
Show older comments
xCenter = 0; yCenter = 0; thetaValue = 0:360; radiusJoint = 1;
jointZerox = radiusJoint*cosd(thetaValue)+xCenter; jointZeroy = radiusJoint*sind(thetaValue)+yCenter;
plot(jointZerox,jointZeroy,'b')
Answers (3)
Star Strider
on 20 Nov 2017
Use fill:
xCenter = 0;
yCenter = 0;
thetaValue = 0:360;
radiusJoint = 1;
jointZerox = radiusJoint*cosd(thetaValue)+xCenter;
jointZeroy = radiusJoint*sind(thetaValue)+yCenter;
fill(jointZerox,jointZeroy,'b')
axis equal
Chad Greene
on 20 Nov 2017
0 votes
Image Analyst
on 20 Nov 2017
0 votes
You might want to take a look at viscircles().
Categories
Find more on Surface and Mesh Plots 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!