MATLAB: 3D surface plot 3d surface plot Hello, I have plot a 3d figure. But the height on the z-axis looks like a flat 2d surface. How can I plot the height and makes the height displays like a 3d surface. Many thanks! Best Answer It depends what your data are. If you are currently using scatter3 or plot3, and your data are reasonably ordered, instead use surf. If your data are random, create a surface using griddata (or similar functions) to interpolate your point data to a surface that surf can use. Related SolutionsMATLAB: Convert patch isosurface to surf Use griddata and meshgrid MATLAB: Make Boxes on Surface in 3D Plot A = rand(10,5,3);A = sum(A);A = squeeze(A);surf(A,'LineWidth',2) Related QuestionPlot a 3D contourHow to plot 3DLabels of contour3 plot hide behind surface plotContours at a specific height from the surface || surfcDisplay a 3D image with texture
Best Answer