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

1 回表示 (過去 30 日間)
Jim
Jim 2012 年 3 月 13 日
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 Center および File Exchange2-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