image thumbnail

MATLAB Plot Gallery - Function Mesh Plot



24 Feb 2012 (Updated )

Create a mesh plot from a function


This is an example of how to create a mesh plot from a function in MATLAB®.

Read about the ezmesh function in the MATLAB documentation.

For more examples, go to MATLAB Plot Gallery

% Create the mesh plot using the function f(x,y) = y^2 - x^2
ezmesh('y^2 - x^2', [-3 3], [-3 3])

Contact us