Simbiology: Is it possible to plot one variable versus the other while running simulation in Task editor, e.g. Conc1 as a function of Conc2? Normally it plots time series.

1 回表示 (過去 30 日間)
Hello,
when using Task Editor it is possible to plot time series of calculated variables, i.e. variable as a function of time, during simulation. Is it possible to plot one variable as a function of the other while the simulation is running? If so, how do I do this? Thank you.

回答 (1 件)

Joe Myint
Joe Myint 2017 年 9 月 11 日
Hi Sergey, You can achieve this in in the Task Editor. Open your simulation task. Expand the Plots to Generate section by clicking the plus icon, select Select New Plot > XY. Specify x as Conc1 and y as Conc2. Make sure you check the Generate Plots After Run box. Hit Run. You can see a separate figure window showing the Conc1 vs Conc2 plot. You can also define custom mathematical expressions and plot them within the Live Plots. For details, see Configuring Live Plots . Thanks, Joe
  2 件のコメント
Sergey Ermakov
Sergey Ermakov 2017 年 9 月 11 日
Hi Joe,
thank you for this insight. This approach is working fine, but the plot is produced after the simulation has been finished. I was wondering, if the plot can be drawn and updated as the simulation goes, much like as time series are plotted. Sergey
Arthur Goldsipe
Arthur Goldsipe 2017 年 9 月 12 日
See the link Joe provided that describes Live Plots. Those are plotted while the simulation runs.

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

カテゴリ

Help Center および File ExchangeScan Parameter Ranges についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by