Re: Cos-Funktion im Raum

Julius Müller (via tex-d-l Mailing List) <[email protected]>
Newsgroups gmane.comp.tex.german
Message-ID <[email protected]>
Hallo Andreas,

Am 07.12.22 um 11:17 schrieb "Dr. Andreas Drauschke" (via tex-d-l
Mailing List):
> 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?

ich denke es gelingt Dir durchaus – nur dass die Drehung zur Folge hat,
dass die gesamte Kurve in der Ebene liegt, die durch die
Winkelhalbierende zwischen x- und y-Achse und die z-Achse aufgespannt
wird. Diese Ebene wird in der Graphik genau auf die z-Achse projiziert.

Viele Grüße,
Julius


> \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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.