MATLAB: How to use gplot for co-ordinates

gplot;graphplotvector

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

Best Answer

gplot(eye(length(x)) , [x' , y'], '*');
% x and y are row vectors containing co-ordinates.
Related Question