@KSSV no i dont need the triangle actually. I just want to plot those points in 1_1.txt like the figure attached(the red dots). https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRKqRZX293Z7fjEMn1k9ubbGw6-pkevd8w2DejT8adI2rDkrvFp6Q
How to plot the points that are present in database A containing values of x,y coordinates and orientation?
1 次查看(过去 30 天)
显示 更早的评论
By using plot(A) I am getting the plot which is connecting all the points in database A. I want to plot and display every point present in database. The database which is to be plot is attached below.
2 个评论
回答(1 个)
KSSV
2017-6-6
I guess..this is what you expecting:
data = importdata('1_1.txt') ;
x = data(:,1) ; y = data(:,2) ; z = data(:,3) ;
tri = delaunay(x,y) ;
% trisurf(tri,x,y,z)
triplot(tri,x,y)
1 个评论
KSSV
2017-6-6
data = importdata('1_1.txt') ;
x = data(:,1) ; y = data(:,2) ; z = data(:,3) ;
% tri = delaunay(x,y) ;
% trisurf(tri,x,y,z)
% triplot(tri,x,y)
plot(x,y,'O')
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Electrophysiology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!