@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 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
KSSV
il 6 Giu 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 Commento
KSSV
il 6 Giu 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')
Vedere anche
Categorie
Scopri di più su Electrophysiology in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!