ExplicitFunc2d

ABSTRACT

Generates a 2D explicit function mesh based on specified parameters.

REMARK

I generally find it better to use ColorGrid and PointMapped to create explicit 2d functions. Its a bit more of a hassle, but you get more control on the overall coloring (and can technically do non rectangular domains). Also check out EmbedinSpace for easy use of transforming from axes coordinates to global coordinates

PARAMETERS
x_minMinimum x-value for the function's domain
x_maxMaximum x-value for the function's domain
y_minMinimum y-value for the function's domain
y_maxMaximum y-value for the function's domain
x_minMinimum x-value for the function's domain
x_maxMaximum x-value for the function's domain
y_minMinimum y-value for the function's domain
y_maxMaximum y-value for the function's domain
x_stepStep size for the x-coordinate
y_stepStep size for the y-coordinate
f(x,y)The function f(x, y) that defines the 2D explicit function. The inputs are the x and y values, and the output is a scalar.
tagA vector of numbers used as the mesh's tag
strokeA 4-vector representing the color of the stroke
fillA 4-vector representing the color of the fill
RETURN

Generates a 2D mesh representing the specified function over the given domain

DECLARATION
func ExplicitFunc2d([points] {[main] {x_min, x_max, y_min, y_max}, [step] {x_min, x_max, y_min, y_max, x_step, y_step}}, f(x,y), tag, stroke, fill)