Connecting different sets of 3D points
Show older comments
I have two sets of 3D points over time and I want to include a line between the each of the coresponding two points at each time value. For example:
A_3Dpts= [-0.91, 0.53, 0.32; -.88, .51, .3; -.84, .43, .16]
B_3Dpts= [-0.909, 0.51, 0.321; -.8, .59, .34; -.8, .4, .1]
I've tried using plot3() but only seem to be able to connect the points from the same 3D XYZ points instead of the two seperate groups.
I'll include an image of what I'm hoping to accomplish.

Accepted Answer
More Answers (0)
Categories
Find more on 2-D and 3-D 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!