I know that I can create a 3D surface plot in MATLAB:
x = Linspace (1,10,100); Y = Lynxpace (10,20,100); [X y] = meshgrid (x, y); Z = X * Y; Surf (x, y, z);
But it requires that all the nodes for the line prepare the line. I have a set of data that has arbitrary digits (x, y) and height (z). Is there an easy way to plot a graph, which is the surf
?
You trisurf
You can use the function:
tri = delaunay (x, y); Trisurf (tri, x, y, z);
If you have dense data then you want to check out the shading archive
(or other values, check the Doctor Shading
Get black blocks due to the grid).
Comments
Post a Comment