plot 2D-function: x and y Range
2 views (last 30 days)
Show older comments
I have a function of 2 variables (X,Y). Of course, I can plot the function with surf(...).
But the function is only valid for X and Y Values, which describe a triangle. Outside the triangle, I do not want to see the Z-Values in my surface plot (or set the Z-Values to Zero there).
How can I solve that easily?
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!