|
latexstudio.net/index/details/index/mid/1566.html
% Copyleft 2015 | Ridlo W. Wibowo
% ridlo.w.wibowo@gmail.com- \documentclass{article}
- \usepackage{tikz}
- \usepackage{verbatim}
- \usepackage[active,tightpage]{preview}
- \PreviewEnvironment{tikzpicture}
- \setlength\PreviewBorder{10pt}
- \tikzset{fontscale/.style = {font=\relsize{#1}}}
- \usetikzlibrary{arrows}
- \usetikzlibrary{decorations.markings}
- \tikzset{->-/.style={decoration={
- markings,
- mark=at position #1 with {\arrow{triangle 45}}},postaction={decorate}}}
- \begin{document}
- \begin{tikzpicture}
- \draw[black] (-3,3) ellipse (2 and 0.5);
- \draw[black] (3,3) ellipse (2 and 0.5);
- \draw[] (-4.95,2.88) -- (-1.05,-2.88);
- \draw[] (-4.95,-2.88) -- (-1.05,2.88);
- \draw[] (4.95,2.88) -- (1.05,-2.88);
- \draw[] (4.95,-2.88) -- (1.05,2.88);
- \draw[blue, thick] (-3,-0.6) ellipse (0.4 and 0.1);
- \draw[] (-3.8,-0.8) -- (-2.2,-0.8);
- \draw[] (-3.8,-0.8) -- (-3.4,-0.4);
- \draw[] (-2.2,-0.8) -- (-2.6,-0.4);
- \draw[] (-3.4,-0.4) -- (-3.3,-0.4);
- \draw[] (-2.6,-0.4) -- (-2.7,-0.4);
- \draw[dashed] (-2.7,-0.4) -- (-3.3,-0.4);
- \node[] at (-1.5,-0.4) {lingkaran};
- \draw[rotate around={20:(-3.26,-1.72)}, blue, thick] (-3.26,-1.72) ellipse (1.2 and 0.2);
- \draw[] (-5,-2.7) -- (-1.5,-1.5);
- \draw[] (-5,-2.7) -- (-4.4,-1.85);
- \draw[] (-4.4,-1.85) -- (-4.1,-1.7);
- \draw[] (-1.5,-1.5) -- (-2,-0.88);
- \draw[] (-2,-0.88) -- (-2.3,-1);
- \draw[dashed] (-2.3,-1) -- (-4.1,-1.7);
- \node[] at (-1.2,-1.7) {elips};
- \draw[blue, thick] (-4,3.4) .. controls (-4.5,1.2) and (-4.2,1.5) .. (-3,2.5);
- \draw[dotted, blue, thick] (-4,3.4) -- (-3,2.5);
- \draw[] (-2.4,2.9) -- (-4,0.5);
- \draw[] (-2.4,2.9) -- (-4.1,3.8) coordinate (A);
- \draw[] (-4,0.5) -- (-4.9,2) coordinate (B);
- \draw[dashed] (A) -- (B);
- \draw[] (A) -- (-4.28,3.4);
- \draw[] (B) -- (-4.7,2.45);
- \node[] at (-2,2.2) {parabola};
- \draw[] (4.5,-3.8) coordinate (A) -- (4.5,2.8) coordinate (B);
- \draw[dashed] (A) -- (3.1,-2.5) coordinate (C);
- \draw[] (B) -- (3.2,3.7) coordinate (D);
- \draw[dashed] (C) -- (D);
- \draw[blue, thick] (4.3,-3.4) coordinate (E) .. controls (4,-0.9) and (3.8,-0.6) .. (3.3,-2.5) coordinate (F);
- \draw[dotted, blue, thick] (E) -- (F);
- \draw[blue, thick] (4.3,2.6) coordinate (G) .. controls (4,1) and (3.8,0.7) .. (3.3,3.5) coordinate (H);
- \draw[dotted, blue, thick] (G) -- (H);
- \draw[] (A) -- (4.1,-3.43);
- \node[] at (2.5,2.2) {hiperbola};
- \pgfpathmoveto{\pgfpoint{-1cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{0}{\pgfpoint{-3cm}{-3.5cm}}
- \pgfpathmoveto{\pgfpoint{-5cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{-1}{\pgfpoint{-3cm}{-3.5cm}}
- \pgfstroke
- \pgfsetdash{{3pt}{3pt}}{0pt}
- \pgfpathmoveto{\pgfpoint{-1cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{-1}{\pgfpoint{-3cm}{-2.5cm}}
- \pgfpathmoveto{\pgfpoint{-5cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{0}{\pgfpoint{-3cm}{-2.5cm}}
- \pgfstroke
- \pgfsetdash{{3pt}{0pt}}{0pt}
- \pgfpathmoveto{\pgfpoint{1cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{-1}{\pgfpoint{3cm}{-3.5cm}}
- \pgfpathmoveto{\pgfpoint{5cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{0}{\pgfpoint{3cm}{-3.5cm}}
- \pgfstroke
- \pgfsetdash{{3pt}{3pt}}{0pt}
- \pgfpathmoveto{\pgfpoint{1cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{0}{\pgfpoint{3cm}{-2.5cm}}
- \pgfpathmoveto{\pgfpoint{5cm}{-3cm}}
- \pgfpatharcto{2cm}{0.5cm}{0}{0}{-1}{\pgfpoint{3cm}{-2.5cm}}
- \pgfstroke
- \end{tikzpicture}
- \end{document}
复制代码 |
|