How to use gplot for co-ordinates
1 回表示 (過去 30 日間)
古いコメントを表示
I very simply want to use gplot for two vectors (x and y), such that they create 5 co-ordinates.
How do I do this? (syntax-wise)
Thanks a lot
0 件のコメント
採用された回答
Dishant Arora
2013 年 9 月 2 日
gplot(eye(length(x)) , [x' , y'], '*');
% x and y are row vectors containing co-ordinates.
0 件のコメント
その他の回答 (1 件)
Brian
2013 年 9 月 2 日
6 件のコメント
Dishant Arora
2013 年 9 月 2 日
use ones matrix instead of identity matrix as argument in gplot.
gplot(ones(length(x)), [x , y])
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!