|
@@ -1,8 +1,6 @@
|
|
|
\documentclass{article}
|
|
|
\usepackage[pdftex,active,tightpage]{preview}
|
|
|
\setlength\PreviewBorder{2mm}
|
|
|
-%\documentclass[varwidth=true, border=20pt]{standalone}
|
|
|
-%\documentclass{article}
|
|
|
\usepackage{pgfplots}
|
|
|
|
|
|
\begin{document}
|
|
@@ -23,6 +21,7 @@
|
|
|
domain=-2:2,
|
|
|
y domain=-2:2,
|
|
|
samples=55, %60 : TeX capacity exceeded, sorry [main memory size=3000000].
|
|
|
+ % see also http://tex.stackexchange.com/a/7954/5645
|
|
|
xlabel=$x$,
|
|
|
ylabel=$y$,
|
|
|
zlabel={$z$},
|
|
@@ -33,7 +32,7 @@
|
|
|
height=0.25*\pgfkeysvalueof{/pgfplots/parent axis height},
|
|
|
title={$f(x,y)$}
|
|
|
}
|
|
|
-]
|
|
|
+ ]
|
|
|
\addplot3[surf] {x*y*y/(x*x+y*y*y*y)};
|
|
|
\end{axis}
|
|
|
\end{tikzpicture}
|