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

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
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 ?
Thanks for help again.
I hope the following pic could help me to explain what i want.
thanks matlab.png
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
Thank you very much. it is work now.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

질문:

2019년 10월 27일

댓글:

2019년 10월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by