Here is my code for 3d surface plot with pgfplots.
\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel = $x$
, ylabel = $y$
, zlabel = Test
, xmin = -1
, xmax = 1
, ymin = -1
, ymax = 1]
\addplot3
[
surf
, faceted color=blue
, samples = 15
, domain = -1:1
, y domain = -1:1
]
{776.062 -50.812* x + 153.062 * y -76.812 *x *y};
\end{axis}
\end{tikzpicture}
\end{document}

I wonder how to get coordinates (x, y) = (-1, -1) rather than (x, y) = (1, -1). Thanks



y dir=reverse? – Jake Jan 11 '13 at 14:54x dir = reverse. I would appreciate if you make your comment as an answer so I can accept it future reference. Thanks – MYaseen208 Jan 11 '13 at 14:59