@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 view (last 30 days)
Show older comments
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 Comments
Answers (1)
KSSV
on 6 Jun 2017
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 Comment
KSSV
on 6 Jun 2017
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')
See Also
Categories
Find more on Electrophysiology 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!