# 3D pgf/tikz; first time making a 3D graph

This will be my first 3D graph on LaTeX, and I need help figuring out how to generate the graph of f(x,y)=xye^{x+2y-9x^2-9y^2}. Thank you for your help.

• texdoc.net/texmf-dist/doc/latex/pgfplots/pgfplots.pdf look at the example on page 118. – Torbjørn T. Jun 25 '16 at 6:17
• Good to hear. Note that you may have a different version of the pgfplots package on your system, so some details may behave differently from what is described in that PDF. Usually you will be able to get the manual of your installed version by writing texdoc pgfplots and hitting enter in either the start menu search field (Windows), or in a terminal/command line (OS X/Linux). This applies for all packages of course. – Torbjørn T. Jun 25 '16 at 7:40

\documentclass{article}