How to plot the points that are present in database A containing values of x,y coordinates and orientation?

6 ビュー (過去 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 件のコメント
Roshni gupta
Roshni gupta 2017 年 6 月 6 日
編集済み: Roshni gupta 2017 年 6 月 6 日
@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
KSSV
KSSV 2017 年 6 月 6 日
Check the comment..at the answer.

サインインしてコメントする。

回答 (1 件)

KSSV
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
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 ExchangeElectrophysiology についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by