Skip to content

Commit

Permalink
Example
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Sep 19, 2023
1 parent 80b7592 commit f9f3c51
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions python/examples/example_steadystate/ExampleSteadystate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -920,10 +920,32 @@
"source": [
"import amici.plotting\n",
"\n",
"amici.plotting.plotStateTrajectories(rdata, model=None)\n",
"amici.plotting.plotObservableTrajectories(rdata, model=None)"
"amici.plotting.plot_state_trajectories(rdata, model=None)\n",
"amici.plotting.plot_observable_trajectories(rdata, model=None)"
]
},
{
"cell_type": "markdown",
"source": [
"We can also evaluate symbolic expressions of model quantities using `amici.numpy.evaluate`, or directly plot the results using `amici.plotting.plot_expressions`:"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "code",
"execution_count": null,
"outputs": [],
"source": [
"amici.plotting.plot_expressions(\n",
" \"observable_x1 + observable_x2 + observable_x3\", rdata=rdata\n",
")"
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit f9f3c51

Please sign in to comment.