Info

This question is closed. Reopen it to edit or answer.

How to connect dots of two 3d massives

1 view (last 30 days)
Sergei
Sergei on 12 Mar 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I have a set of 2d lines, which are characterized with their angle. Is there any way to make a 3d plot which would divide the set by angle? Each line has 2 coordinates. x1 and x2 in columns 1 and 2, y1 and y2 in columns 3 and 4 , the 5 column is the angle of the line.
I enclose some schematic view of the desired 3d figure.
and code to plot the data, just without color as above
figure
hold on
for i=1:416
plot(A(i,1:2),A(i,3:4),'o-');
end
end

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!