Plotting a matrix of co-ordinates
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MOLE
el 29 de En. de 2020
Editada: David Goodmanson
el 30 de En. de 2020
I have a bunch of points in 2D as a 2 by 56 matrix, and need to make a 2D plot with these points marked on it showing all these point co-ordinates. How do I achieve it?
0 comentarios
Respuesta aceptada
David Goodmanson
el 30 de En. de 2020
Editada: David Goodmanson
el 30 de En. de 2020
Hi Anmoi,
points = rand(2,56)
plot(points(1,:),points(2,:),'o')
grid on
If you go to the help for plot you will find many other markers and colors to choose from.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre 2-D and 3-D Plots 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!