plotting data based on matrix values
Show older comments
I got 3 matrices X2, Y2, Z representing 121 points in space. The coordinates of each point in x, y, z (gcs) are respresented in the 3 matrices. My question, how to plot the points to a surface in 3D?

Thanks in advance!
1 Comment
José-Luis
on 20 Dec 2012
How do you define "surface"? What sort of data is this? If you want to plot the points in 3d, you could have a look at plot3d().
Answers (1)
Walter Roberson
on 20 Dec 2012
0 votes
You cannot plot a surface without knowledge of connectivity between the points.
If the points are intended to represent sampling a surface, then see griddata() or TriScatteredInterp
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!