summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/2-3-11.ltx
blob: 58d4b2f9f49e0a955dea9b1d3f78151b3a8aef97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 2-3-11 on page 48.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It may be distributed and/or modified under the conditions
%%  of the LaTeX Project Public License, either version 1.3
%%  of this license or (at your option) any later version.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{207.83385pt}

\StartShownPreambleCommands
\usepackage{xcolor,pict2e,curve2e}
\StopShownPreambleCommands
\begin{document}
\setlength\unitlength{1cm}
\begin{picture}(6.6,3)(0,-1.5)
  \put(0,-1.5){\vector(0,3){3}}
  \put(0,0){\Vector(6.6,0)}
  \put(6.3,0.1){$\theta$}
  \put(0.05,-0.3){$0$}% 0
  \put(2.9,-0.3){$\pi$}% pi
  \put(6.23,-0.3){$2\pi$}% 2 pi
  \color{red}\put(0.1,1.1){$\cos\theta$}
  \Curve(0,1)<1,0>(1.570796,0)<1,-1>%
  (3.1415924,-1)<1,0>(6.283185,1)<1,0>%
  \color{blue}\put(1.65,1.1){$\sin\theta$}
  \Curve(0,0)<1,1>(1.570796,1)<1,0>%
  (4.712389,-1)<1,0>(6.283185,0)<1,1>%
\end{picture}
\end{document}