フィルターのクリア

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 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