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!