Filter löschen
Filter löschen

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 Ansicht (letzte 30 Tage)
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.

Antworten (1)

Joe Myint
Joe Myint am 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 Kommentare
Sergey Ermakov
Sergey Ermakov am 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
Arthur Goldsipe
Arthur Goldsipe am 12 Sep. 2017
See the link Joe provided that describes Live Plots. Those are plotted while the simulation runs.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Scan Parameter Ranges finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by