summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-12-3-0.tex
blob: 10b89682fafc40937406a941cdaf827464dbb122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 55 (Section 12.3 : Équation polaire Heart)

\begin{tikzpicture}[scale=3]
	\tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
	\tkzFctPolar[domain     = -pi:pi,
	             samples    = 800,
	             ball color = red,
	             shading    = ball]%
	  {2-2*sin(t)+sin(t)*sqrt(abs(cos(t)))/(sin(t)+1.4)}
\end{tikzpicture}

\end{document}