Example: Surface plot of a math function

Published 2014-03-15 | Author: Christian Feuersänger

We would like to plot a function of two variables given by the math expression exp(-x^2 - y^2) * x.

The code is from the PGFPlots 1.10 manual: “3.5.4 Computing a Contour Plot of a Math Expression”.

Download as: [PDF] [TEX]  •  [Open in Overleaf]

Surface plot of a math function

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de.

    title={$x \exp(-x^2-y^2)$}, 
    xlabel=$x$, ylabel=$y$,
	domain y=-1.3:1.3,


Adding comments is currently not enabled.