Clear Filters
Clear Filters

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 view (last 30 days)
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.

Answers (1)

Joe Myint
Joe Myint on 11 Sep 2017
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 Comments
Sergey Ermakov
Sergey Ermakov on 11 Sep 2017
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

Sign in to comment.

Categories

Find more on Scan Parameter Ranges in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!