3D plot with 4 vectors
Show older comments
Hi everyone, I want to make a 3D plot, and I have 4 column vectors: three column vectors containing coordinate points of each XYZ axis, and the variable I want to plot in the fourth vector, like this:
X Y Z Var
0 0 0 1
1 0 0 2
1 3 0 0
So at the point (0, 0, 0), Var=1. At the point (1, 0, 0), Var=2 and so on. I need to make a 3D plot from Var, but I don't know how. Does anyone know a function that can do it?
Regards, Fred
Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!