Plot 2d line from matrix data
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Italy
el 6 de Mzo. de 2013
Comentada: Rozh Al-Mashhdi
el 7 de En. de 2018
Hey,
I have 2d matrix data (100X2) and I want to plot line from it.
For example: each row is one point, (1,1) = X & (1,2) = Y. From all those 100 points I want to draw a line.
10x,
Itay
0 comentarios
Respuesta aceptada
Azzi Abdelmalek
el 6 de Mzo. de 2013
Editada: Azzi Abdelmalek
el 6 de Mzo. de 2013
plot(A(:,1),A(:,2))
Example
A=[1:100;rand(1,100)]'
plot(A(:,1),A(:,2))
3 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Annotations 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!