Tikz③ 座標と円

半径1の円ですが,実際は半径2の円で描いています.
(35:2)は,極座標r=2, θ=35°

\begin{tikzpicture}
\draw[->,thick](-3,0)--(3,0);
\node at(2,0)[below right]{1};
\node at(0,2)[above left]{1};
\node at(0,-2)[below left]{$-1$};
\node at(-2,0)[below left]{$-1$};
\draw[->,thick](0,-3)--(0,3);
\draw (0,0) circle [radius=2];
\draw (0,0)--(35:2);
\draw[dashed](35:2)--(1.65,0);
\draw[dashed](35:2)--(0,1.15);
\node at(1.9,0)[below left]{$\cos\theta$};
\node at(0,1.15)[left]{$\sin\theta$};
\fill (35:2)circle[radius=1.5pt];
\node at(35:2)[right]{P$(\cos\theta,\ \sin\theta)$};
\node at(0,0)[below left]{0};
\draw ([shift={(0,0)}]0:0.4) arc[radius=0.4, start angle=0, end angle= 35];
\node at (0.6,0.2)[]{$\theta$};

\end{tikzpicture}


この記事が気に入ったらサポートをしてみませんか?