Cos-Funktion im Raum
"\"Dr. Andreas Drauschke\"" (via tex-d-l Mailing List) <[email protected]>
| Newsgroups | gmane.comp.tex.german |
|---|---|
| Message-ID | <[email protected]> |
Hallo zusammen,
bei folgendem Minimalbeispiel wollte ich eigentlich in rot dieselbe
Cos-Funktion erzeugen, die schon gezeichnet ist, nur aus Richtung der
z-Achse um 90° gedreht. Irgendwie mag mir das nicht gelingen. Hat wer
eine Idee?
Viele Grüße
Andreas
\documentclass{standalone}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[>=stealth', x={(0.866pt,0.5pt)},
y={(-0.866pt,0.5pt)}, z={(0pt,1pt)}]
\draw[->] (60,0,0) -- (-60,0,0) node[left, yshift=-2] {$x$};
\draw[->] (0,0,0) -- (0,-120,0) node[below right] {$z$};
\draw[->] (0,0,-60) -- (0,0,60) node[above] {$y$};
\draw[very thick, samples=100] (0,0,0) plot[domain=0:720]
({-40*cos(\x)},-\x/8,{-40*cos(\x)});
\draw[red, very thick, samples=100] (0,0,0) plot[domain=0:720]
({-40*cos(\x)},-\x/8,{40*cos(\x)});
\end{tikzpicture}
\end{document}
--
FAQ: http://texfragen.de/
Durchsuchbares Archiv: https://www.listserv.dfn.de/sympa/arc/tex-d-l
Unsubscribe/Verwaltung: https://www.listserv.dfn.de/sympa/info/tex-d-l