How to use gplot for co-ordinates
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Dishant Arora
el 2 de Sept. de 2013
gplot(eye(length(x)) , [x' , y'], '*');
% x and y are row vectors containing co-ordinates.
0 comentarios
Más respuestas (1)
Brian
el 2 de Sept. de 2013
6 comentarios
Dishant Arora
el 2 de Sept. de 2013
use ones matrix instead of identity matrix as argument in gplot.
gplot(ones(length(x)), [x , y])
Ver también
Categorías
Más información sobre Data Exploration en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!