how can i plot a 3d graph using 3 different sets of data?
2 views (last 30 days)
Show older comments
Hi all, I have 3 different sets of data (from xls file). I would like to use 2 of them to assign the respective x and y axis value to the corresponding z Value. To be more precise, i have x and y values varying from -24 to 24 not evenly spaced (eg : -24,-21,-19,-17....). Let Xn be the number of x points and Yn be the number of y points. So i have Xn*Yn , z points i need to assign to the (x,y) pair accordingly. how can i do this? using mesh function? How?? thanls for ur time guys!
0 Comments
Answers (1)
Star Strider
on 10 May 2015
I would use scatter3 or stem3 (my preference) to begin with to display your data and then decide if you want to do gridded interpolation.
2 Comments
Joseph Cheng
on 10 May 2015
the documentation on scatter3 and stem3 will tell you how you should define the inputs.
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!