pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 35 forks source link

scaling problem: dimension too large #197

Open pgf-tikz-bot opened 6 years ago

pgf-tikz-bot commented 6 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/197/ Author: cfeuersaenger Timestamp: 2017-12-22 06:58:48.545000

https://tex.stackexchange.com/questions/405798/trying-to-plot-a-3d-curve

pgf-tikz-bot commented 6 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/197/#a457 Author: cfeuersaenger Timestamp: 2017-12-22 07:01:27.772000

\documentclass{article}
\usepackage{pgfplots}
\pgfplotsset{compat=1.15}

\begin{document}
 \begin{tikzpicture}
 %\tracingmacros=2 \tracingcommands=2
    \begin{axis}
      [
      %view={60}{30}, axis lines=center,axis on top,
       %xlabel=$x$,ylabel=$y$,zlabel=$z$,
       %xtick={10},ytick={10},ztick={10},
       %no marks,axis equal,
       xmin=-1,xmax=10,ymin=-1,ymax=10,zmin=-1,zmax=10,
       %enlargelimits={upper=0.1}
       ]
        \addplot3+[color=black, no markers,samples=11, samples y=0, domain=0:10, variable=\t]
     ( {(exp(\t))*cos(\t r)}, {(exp(\t))*sin(\t r)}, {exp(\t)} );
    \end{axis}
 %  \draw (1.6,1.7) node {$O$};
 \end{tikzpicture}
\end{document}