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

1 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by