How to plot a graph to the values in .txt file

1 visualización (últimos 30 días)
Jim
Jim el 13 de Mzo. de 2012
Hi,
I need to plot a graph for the values of x,y
The values are in .txt file
Each one having 52 values
I imported the file into work space
I need to plot a graph between them
Can u suggest anything about this
Thanks in advance

Respuestas (1)

Doug Hull
Doug Hull el 13 de Mzo. de 2012
If they have been brought into the workspace as two variables, x,y then you will use the command:
plot(x,y)

Categorías

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

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by