@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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
KSSV
am 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 Kommentar
KSSV
am 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')
Siehe auch
Kategorien
Mehr zu Electrophysiology finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!