필터 지우기
필터 지우기

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 CenterFile Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by