Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to plot set of 3d lines in a box with their end coordinates?
2 次查看(过去 30 天)
显示 更早的评论
the set of data points are arranged in the way xn,yn,zn,un,vn,wn this line is not working properly. Any Suggestion!!
plot3([data1(:,1) data1(:,4)],[data1(:,2) data1(:,5)],[data1(:,3) data1(:,6)])
0 个评论
回答(1 个)
Chad Greene
2017-8-10
Perhaps you want this?
plot3([data1(:,1) data1(:,4)]',[data1(:,2) data1(:,5)]',[data1(:,3) data1(:,6)]')
If that's not what you want, please describe the problem with more details than "is not working properly."
2 个评论
Chad Greene
2017-8-11
There are many ways to find intersection points. The best method will depend on the type of data you have and exactly what you're trying to do. I recommend starting a new question and provide a very clear description of exactly what you want to do. And provide sample data if you can.
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!