plotting 3 variables in figure

1 回表示 (過去 30 日間)
Nawsheen Tarannum Promy
Nawsheen Tarannum Promy 2020 年 10 月 22 日
コメント済み: KSSV 2020 年 10 月 22 日
Could anyone please let me know that how I can plot this "test.mat" file, kindly if someone show me the procedure for plotting .mat files. By the way in this test.mat file there are three columns (e.g x,y,z axis) and 203 rows.
Thanks,

採用された回答

KSSV
KSSV 2020 年 10 月 22 日
First you have to laod the .mat file into MATLAB. For this you can use load. Read abotu this function.
To plot, you need to know how the data is. If it is a line/curve, you can use plot3, scatter. Read about them.
If you want to plot a surface/ 2D plane..Read it here:
  2 件のコメント
Nawsheen Tarannum Promy
Nawsheen Tarannum Promy 2020 年 10 月 22 日
the data will generate a curve basically. So, I need to use plot3 and scatter?
KSSV
KSSV 2020 年 10 月 22 日
If you want a line use plot3. If you want to have a different color to each point with some marker use scatter.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by