summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-16-1-0.tex
blob: f38e0fe263f4ab1cc3640b2c5c8cb29c6cebb55a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
%
% tkz-euclide (14/01/2011)
%
% Coding (utf8) Creator (TeX) Producer (pdfeTeX) 
% Author Alain Matthes
\input{tkzfctpreamble.ltx}

\begin{document}

\begin{tikzpicture}
  \def\Asmall{0.7 } \def\Abig{3 } \def\B{20}%Herbert Voss
  \path[fill=blue!40!black,domain=-pi:pi,samples=500,smooth,variable=\t]%
          plot({\Abig*cos(\t r)+\Asmall*cos(\B*\t r)},%
               {0.5*\Abig*sin(\t r)+0.5*\Asmall*sin(\B*\t r)});
  \def\Asmall{0.7 } \def\Abig{3 } \def\B{10}
  \path[shift={(1,1)},fill=blue!40!black,%
        domain=-pi:pi,samples=500,smooth,variable=\t]%
        plot({\Abig*cos(\t r)+\Asmall*cos(\B*\t r)},%
             {0.5*\Abig*sin(\t r)+0.5*\Asmall*sin(\B*\t r)});
\end{tikzpicture}

\end{document}