How to plot a graph to the values in .txt file
2 次查看(过去 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
0 个评论
回答(1 个)
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!