Suppose I need to plot a function $z = x^2 - y^2$ using a 3 dimensional surface plot (Plot3D
feature). Assume the $x$ limit for this plot is [x_min, x_max]
and y
limit is [y_min, y_max]
. In my case, x_max is a function of co-ordinate y. How do I incorporate this in the Plot3D
command ?
Eg. Plot3D[x^2-y^2, {xlim, x_min, x_max(y)}, {ylim, y_min, y_max}]
does not work.
RegionFunction
$\endgroup$