Plot data for unique temperatures imported from text file
古いコメントを表示
Hello,
I would like to plot the reaction against concentration on a 3 by 1 subplot for each unique temperature in the imported text data file. I think I need to put it in a loop but I'm not sure how to get it to plot.
Any help is appreciated, the code I have so far is below and text file ('reactions.txt') is attached.
3 件のコメント
Rik
2020 年 10 月 19 日

Rik
2020 年 10 月 19 日
You're forgetting several things:
- You are plotting the entire c and r vectors, not just the parts that belong to a specific temperature.
- You use hold on before creating the first plot in the subplot axes.
- The a variable describes positions in your temp array, not its values.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!