How can I plot a surface (plate) from X,Y,Z data that looks like this:
2 views (last 30 days)
Show older comments
x1 x2 x3 x4 x5...x(n)
y1 z1 z2 z3 z4 z5...z(n)
y2 z6 z7 z8 z9 z10..z(n)
y3 ... ... ... ...
y4 ... .. ... ... ..
y5 ... ... ... ... ...
y(m) ... ... ... .. etc
0 Comments
Answers (1)
Star Strider
on 23 Nov 2016
The ‘X’ and ‘Y’ matrices (and you will need to define them as matrices) you can create with the meshgrid function. Then use surf or mesh (and their friends surfc and meshc) or contour and its friends to create the sort of 3D plot you want.
0 Comments
See Also
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!