How to plot graph from table row by row using app designer

Hello
I have data table as text file. I import it as table to matlab app designer. How can I plot a graph from that table row by row using app designer.

 採用された回答

Subhadeep Koley
Subhadeep Koley 2019 年 10 月 30 日
編集済み: Subhadeep Koley 2019 年 10 月 30 日

0 投票

I am assuming you have already imported the text file into the table. Now, download the attached .zip file and refer to the example app, which plots a line graph from a table for every row.
You can tweak various parameters in the example code to make it work the way you want. Hope this helps!

5 件のコメント

Bilal Larouzi
Bilal Larouzi 2019 年 10 月 30 日
Thank you for help.
but I want to plot the first row then the second then third one and so in the same function because all data table are readings for the same expermints but it written row by row.
thanks for help again
Subhadeep Koley
Subhadeep Koley 2019 年 10 月 30 日
Bilal, I have plotted every row in the same graph only.
Can you explain exactly what are you expecting as an output?
You want one line plot for each row of the table right ?
Bilal Larouzi
Bilal Larouzi 2019 年 10 月 30 日
Thanks for help again.
I hope the following pic could help me to explain what i want.
thanks matlab.png
Subhadeep Koley
Subhadeep Koley 2019 年 10 月 30 日
Okay, now I got the clear idea. Download the attached .zip file and refer to the modification in the function updateplot there. It gives output something like this
tableGraph1.PNG
Bilal Larouzi
Bilal Larouzi 2019 年 10 月 30 日
Thank you very much. it is work now.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by