I am trying to create a plot using pgfplot tool for latex. I want to plot $z=\sin(x)\sin(y)$ to create a plot that looks like
So am am just imitating the code provided in the picture with the preamble mentioned.
\begin{frame}
\begin{tikzpicture}
\begin{axis}
\addplot3[surf,domainin=0:360, sample=40, shader=none]
{sin(x)*sin(y)};
\end{axis}
\end{tikzpicture}
\end{frame}
But I am getting . I know its a problem with scaling but I tried to include
ymin, ymax, xmin, xmax
values with even disastrous results. I would appreciate any help.
domainin
instead ofdomain
.shader=none
)Package pgfkeys Error: I do not know the key '/tikz/domainin', to which you passed '0:360', and I am going to ignore it. Perhaps you misspelled it.
could mean? ;-)