# plot a circle at seperate points

Posted 10 years ago
3539 Views
|
3 Replies
|
2 Total Likes
|
 Hello Everyone,I am trying to plot a circle, I wrote a code like this:x1[\[Psi]_] := Cos[\[Psi]]y1[\[Psi]_] := Sin[\[Psi]]When I want to plot a circle, I am using parametric plot ParametricPlot[{x1[\[Psi]], y1[\[Psi]]}, {\[Psi], 0, 2 Pi}]However I don't want all points, This circle must be drawn at only 24 points, for example:0, 2 Pi/24, 2*2 Pi/24, 3*2 Pi/24...Maybe I must write a loop but I don't know. Could you please help me. Thanks a lot.
3 Replies
Sort By:
Posted 10 years ago
 Bill and Frank, thanks a lot
Posted 10 years ago
 x1[\[Psi]_] := Cos[\[Psi]];y1[\[Psi]_] := Sin[\[Psi]];ListPlot[Table[{x1[\[Psi]], y1[\[Psi]]}, {\[Psi], 0, 2 Pi - 2 Pi/24,    2 Pi/24}]]
Posted 10 years ago
 x1[\[Psi]_] := Cos[\[Psi]];y1[\[Psi]_] := Sin[\[Psi]];Show[Graphics[Table[Point[{x1[\[Psi]], y1[\[Psi]]}], {\[Psi], 0, 2 Pi - 2 Pi/24, 2 Pi/24}]]]
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.