HOW I CAN PLOT A CIRCLE BYE CIRCLE ONE AFTER ONE NOT IN THE SAME TIME

2 vues (au cours des 30 derniers jours)
I HAVE THIS CODE
th = 0:pi/50:2*pi;
xrunit = r * cos(th) + X2;
yrunit = r * sin(th) + Y2;
plot(xrunit, yrunit,'r');
MY QUESTION
HOW I CAN PLOT A CIRCLE BYE CIRCLE ONE AFTER ONE NOT IN THE SAME TIME

Réponse acceptée

Walter Roberson
Walter Roberson le 2 Nov 2015
plot(xrunit, yrunit,'r*');
perhaps?
Or did you want to draw one point, show that, then draw only the next point, show that, and so on, with only one point showing at a time, going around the circle?
Or did you want to draw the first point and show that, then the first two points, show that, then the first three, and so on, building up the circle as you go?
  2 commentaires
ali hadjer
ali hadjer le 2 Nov 2015
I want to draw a circle (as a radius) for each point ,draws the circle one by one
ali hadjer
ali hadjer le 2 Nov 2015
r is the radios and x and y is coordiante of point

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by