Rendered by QuickLaTeX.com

 

 

\begin{tikzpicture}
[+preamble]
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
[/preamble]
\begin{axis}[
ticks=none,
xmin=-1*pi,
xmax=5*pi,
ymin=-1.5,
ymax=1.5,
axis lines=middle,
xlabel=$t$,
ylabel=$y$,
disabledatascaling]
\addplot[solid,samples=200,domain=-0.5*pi:4.5*pi] {sin(deg(x))};
\addplot[solid,samples=200,domain=-0.5*pi:4.5*pi] {sin(deg(x+2))};
\draw [<->](1,{sin(deg(3))})--(3,{sin(deg(3))})node[above left,position=0.1]{$\theta$};
\end{axis}
\end{tikzpicture}

 

0 Shares:
Leave a Reply

Your email address will not be published. Required fields are marked *

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

You May Also Like
Read More

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$…
Read More

Square root

(1)   \begin{align} \label{eq:poly} d_n=$\sqrt{a_n^2+b_n^2} \end{align} {align}을 안써주면 줄바꿈이 일어난다. 줄바꿈 내용 참조(align, align*, &) http://cubequest.org/xe/index.php?document_srl=165972&mid=LaTex
Read More

원과 접선(tangent line) (1)

\begin{tikzpicture} [+preamble] \usepackage{pgfplots} \pgfplotsset{compat=newest} [/preamble] \begin{axis}[xlabel=$x$,ylabel=$y$,axis lines=middle, axis line style={gray!30,latex-latex},xtick={1},ytick={1}, no marks,axis equal,xmin=-1,xmax=2,ymax=1.5,ymin=-1,enlargelimits={upper=0.1} ] \draw[thin,gray!30] (1,0) |- (0,1);…
Read More

수직 그래프(x=n)

\begin{tikzpicture} [+preamble] \usepackage{pgfplots} \pgfplotsset{compat=newest} [/preamble] \begin{axis}[ ticks=none, xmin=-1, xmax=5, ymin=-1, ymax=5, axis lines=middle, xlabel=$w$, ylabel=$r$, disabledatascaling] \draw[line width=0.5mm]…
Read More

원과 접선(tangent line) 2

\begin{tikzpicture} [+preamble] \usepackage{pgfplots} \pgfplotsset{compat=newest} [/preamble] \pgfmathsetmacro{\tangentpoint}{sqrt(19)}% \begin{axis}[ ticks=none, xmin=-1.5, xmax=1.5, ymin=-1.5, ymax=1.5, axis equal, axis lines=middle, xlabel=$x$, ylabel=$y$,…
Read More

원과 접선(3)

\begin{tikzpicture} [+preamble] \usepackage{pgfplots} \pgfplotsset{compat=newest} [/preamble] \begin{axis}[ ticks=none, xmin=-2, xmax=2, ymin=-2, ymax=2, axis equal, axis lines=middle, xlabel=$x$, ylabel=$y$, disabledatascaling]…