Borrar filtros
Borrar filtros

Plotting Column X vs Column Y?

9 visualizaciones (últimos 30 días)
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia el 21 de Mzo. de 2023
Comentada: Luis Ricardo Rivera Goitia el 21 de Mzo. de 2023
Having this table, how can I obtain a graph that shows on x-axis the first column values and on y-axis the second column values?

Respuesta aceptada

Cameron
Cameron el 21 de Mzo. de 2023
Editada: Cameron el 21 de Mzo. de 2023
scatter(x(:,1),x(:,2))
  3 comentarios
Les Beckham
Les Beckham el 21 de Mzo. de 2023
Use plot() instead of scatter().
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia el 21 de Mzo. de 2023
I used plot before using scatter, and didn't work as scatter writing down the values of time in the x-axis. But I'll try, thx.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by