How to indicate this data.?
1 次查看(过去 30 天)
显示 更早的评论
http://www.fileconvoy.com/dfl.php?id=g75b89554ede6461199922508637ab5789f8c54f52 http://www.fileconvoy.com/dfl.php?id=g0786e6527970376a9992250871fb1ba5953a9f513
This are two 3D data files..
point = dlmread('N3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'r.')
rotate3d on
point = dlmread('3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'g.')
rotate3d on
I am reading this both using above code.
Now, line image created by N3d.txt have space between it if we compare it with 3d.txt file on same graph.
So, how to differentiate that space with another colour..? (I want to indicate it with another colour)
0 个评论
回答(1 个)
Cedric
2013-2-16
Try with this:
figure(1) ;
clf ;
hold on ;
rotate3d on ;
point = dlmread('N3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'r.')
point = dlmread('3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'g.')
5 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!