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.

3 次查看(过去 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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Import Data 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by