diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots.resources.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfplots/pgfplots.resources.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.resources.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.resources.tex index 87b7a54d236..54688463c10 100644 --- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.resources.tex +++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.resources.tex @@ -34,6 +34,21 @@ \end{tikzpicture} \end{codeexample} +\pgfplotsexpensiveexample +\begin{codeexample}[] +\begin{tikzpicture} +\begin{axis}[ + title=$120 \times 120$ Smooth Surface, + xlabel=$x$, + ylabel=$y$] +\addplot3[surf,samples=120,shader=interp,domain=0:1] + {sin(deg(8*pi*x))* exp(-20*(y-0.5)^2) + + exp(-(x-0.5)^2*30 + - (y-0.25)^2 - (x-0.5)*(y-0.25))}; +\end{axis} +\end{tikzpicture} +\end{codeexample} + \PGFPlots\ relies completely on \TeX\ to do all typesetting. It uses the front-end-layer and basic layer of \PGF\ to perform all drawing operations. For complicated plots, this may take some time, and you may want to read section~\ref{sec:pgfplots:importexport} for how to write single figures to external graphics files. Externalization is the best way to reduce typesetting time. However, for large scale plots with a lot of points, limitations of \TeX's capacities are reached easily. |