Kann man die Funktion

M={(cosh(u)cos(v);cosh(u)sin(v);u)}: (u,-R,R), R>0, (v,-pi,pi)}

mit pgfplots schön darstellen?

Laut Sage

Öffne in Overleaf
u, v = var('u,v')
parametric_plot3d((cosh(u)*sin(v), cosh(u)*cos(v), u), (u,-1,1), (v,-pi,pi),  mesh=True, opacity=0.5, plot_points=[20,20])

sieht die Funktion so aus:

alt text

Mit dem MWE bekomme ich nichts Gescheites hin:

Öffne in Overleaf
\documentclass[margin=2mm, tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
   \begin{axis}[view={60}{30},
                axis lines=center,axis on top,
                xlabel=$x$,ylabel=$y$,zlabel=$z$,
                xtick={2},ytick={2},ztick={2},
                no marks,axis equal,
                xmin=-4,xmax=4,ymin=-4,ymax=4,zmin=-1,zmax=4,
                enlargelimits={upper=0.1}]
\addplot3+[
no markers,
samples=51, 
samples y=0,
domain=-pi:pi,
variable=\v]
(
 {cosh(1)*cos(\v r)},
 {cosh(1)*sin(\v r)},
 {\v}
);
\end{axis}
\end{tikzpicture}

\end{document}

alt text

gefragt 02 Jul '18, 16:15

cis's gravatar image

cis
9.5k75452491
Akzeptiert-Rate: 29%

bearbeitet 02 Jul '18, 16:16


Das liegt daran, dass Du nur eine Funktion von einer Variablen plottest.

Öffne in Overleaf
\documentclass[margin=2mm, tikz]{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}
   \begin{axis}[view={60}{30},
                axis lines=center,axis on top,
                xlabel=$x$,ylabel=$y$,zlabel=$z$,
                xtick={2},ytick={2},ztick={2},
                no marks,axis equal,
                xmin=-4,xmax=4,ymin=-4,ymax=4,zmin=-1,zmax=4,
                enlargelimits={upper=0.1}]
\addplot3+[
no markers,
samples=51, 
samples y=50,
domain=-180:180,domain y=-2:2]
(
 {cosh(y)*cos(x)},
 {cosh(y)*sin(x)},
 {y}
);
\end{axis}
\end{tikzpicture}

\end{document}

alt text

Permanenter link

beantwortet 02 Jul '18, 17:13

Community's gravatar image

Community
21
Akzeptiert-Rate: 56%

Deine Antwort
Vorschau umschalten

Folgen dieser Frage

Per E-Mail:

Wenn sie sich anmelden, kommen Sie für alle Updates hier in Frage

Per RSS:

Antworten

Antworten und Kommentare

Markdown-Grundlagen

  • *kursiv* oder _kursiv_
  • **Fett** oder __Fett__
  • Link:[Text](http://url.com/ "Titel")
  • Bild?![alt Text](/path/img.jpg "Titel")
  • nummerierte Liste: 1. Foo 2. Bar
  • zum Hinzufügen ein Zeilenumbruchs fügen Sie einfach zwei Leerzeichen an die Stelle an der die neue Linie sein soll.
  • grundlegende HTML-Tags werden ebenfalls unterstützt

Frage-Themen:

×296

gestellte Frage: 02 Jul '18, 16:15

Frage wurde gesehen: 3,973 Mal

zuletzt geändert: 02 Jul '18, 17:13