答案1
像这样——用红色代替黑色
\documentclass[tikz,border=0.5cm]{standalone}
\begin{document}
\begin{tikzpicture}
\foreach \i in {0,5,10,15,20,25,30,...,360}{%
\filldraw [black] (\i:3cm) circle (0.4pt);}
\end{tikzpicture}
\end{document}
编辑
圆心定义为坐标 (0,0),命名为 {a}
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (0,0){a};
\foreach \i in {0,5,10,15,20,25,30,...,360}{%
\filldraw [red] (\i:3cm) circle (0.4pt);}
\end{tikzpicture}
\end{document}
要减少圆圈中的点数,只需将角度数减少到 45-90-360,如下所示
\documentclass{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\node (0,0){a};
\foreach \i in {0,45,90,...,360}{%
\filldraw [blue] (\i:3cm) circle (1pt);}
\end{tikzpicture}
\end{document}
答案2
以下是我的建议(附带评论):
\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\coordinate (c) at (12,3); % center of circle
\def\radius{6cm} % radius of circle
\def\nbpts{400} % nb of points
\def\radpt{.5pt} % radius of points
\colorlet{point color}{red} % color of points
\foreach \numpt in {1,...,\nbpts}{
\fill[point color] (c) ++ (360/\nbpts*\numpt:\radius) circle(\radpt);
}
\end{tikzpicture}
\end{document}