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!