필터 지우기
필터 지우기

Plot data from 2 different files in the same folder

조회 수: 4 (최근 30일)
aquiano
aquiano 2016년 9월 6일
댓글: Sagar Mothkuri 2020년 2월 9일
How do I plot data from 2 files in to the same graph I have two files; program1_1 program2_2
the files are almost identical but with a few different values for different variables.

채택된 답변

George
George 2016년 9월 6일
It doesn't matter what files the data is in. You need to load the data and run the associated plotting commands.
  댓글 수: 3
George
George 2016년 9월 7일
A = readtable('file1.csv');
B = readtable('file2.csv');
plot(A.var1, B.var2);
Sagar Mothkuri
Sagar Mothkuri 2020년 2월 9일
Thanks. It helped me solve one of my issues. Cheers!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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