How to plot over another surface?
Show older comments
So here is my code
N=6; V is a matrix which is 6x6
[X, Y] = meshgrid (1: N, 1: N);
surf (X, Y, V);
With this code, one plots in Matlab a scalar field over a square surface. How to plot over another surface (triangle, for example)
Answers (1)
madhan ravi
on 17 Mar 2019
hold on % after first surf() command
Categories
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!