Arc

draw (x,y) arc (start:stop:radius)

with radius: radius
starts from: (x,y)
with center: (x-r*cos(start), y-r*sin(start))
ends: (x-r*cos(start)+r*cos(stop), y-r*sin(start)+r*sin(stop))

$\theta_1$ – 아래첨자
$\theta^1$ – 윗첨자

axis equal 을 넣어야 원이 찌그러져 보이지 않음

Rendered by QuickLaTeX.com

 

\begin{tikzpicture}
[+preamble]
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
[/preamble]
\begin{axis}[
ticks=none,
xmin=-5,
xmax=5,
ymin=-5,
ymax=5,
axis lines=middle,
axis equal,
xlabel=$x$,
ylabel=$y$,
disabledatascaling]
\draw[gray] (0,0) circle (2);
\draw[gray] (0,0) circle (3);
\draw[gray] (0,0) circle (4);
\draw[line width=0.5mm,->] (2,0) arc (0:30:2) node[right, pos=0.5] {$\scriptstyle w_1$};
\draw[line width=0.5mm,->] (3,0) arc (0:110:3)node[right, pos=0.5] {$\scriptstyle w_2$};
\draw[line width=0.5mm,->] (4,0) arc (0:60:4)node[right, pos=0.5] {$\scriptstyle w_3$};
\draw[thin, dashed] (0,0) -- ({2*cos(30)},{2*sin(30)});
\draw[thin, dashed] (0,0) -- ({3*cos(110)},{3*sin(110)});
\draw[thin, dashed] (0,0) -- ({4*cos(60)},{4*sin(60)});
\end{axis} \end{tikzpicture}

 

0 Shares:
Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.