====== Surface avec pgfplots ====== %@AUTEUR: Sylvain Chambon \documentclass{article} \usepackage{fourier} \usepackage{pgfplots} \pagestyle{empty} \begin{document} \begin{tikzpicture} \begin{axis}[grid=major,view={150}{30}] \addplot3[surf,shader=faceted,samples=40,domain=-2:2,y domain=-2:2]% {100*sin(deg(x))*sin(deg(y))*exp(-x*x+x*y-y*y)}; \end{axis} \end{tikzpicture} \end{document} {{ :pgf:tikz:pgfplots-01.png }} Cette surface est la même que celle produite avec [[octave/index|octave]]. Petite précision: les angles sont, par défaut, en radians dans //Octave//, en degrés dans //pgfplots//.