Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 18, 2023
1 parent 52d6019 commit a52b93a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/example/example_visualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
"source": [
"petab.visualize.plot_problem(\n",
" petab_problem,\n",
" grouping_list=[[\"pEGFR_tot\"], [\"pAkt_tot\", \"pS6_tot\"]]\n",
" grouping_list=[[\"pEGFR_tot\"], [\"pAkt_tot\", \"pS6_tot\"]],\n",
" group_by=\"observable\",\n",
")\n",
"plt.gcf().set_size_inches(10, 4)"
Expand Down Expand Up @@ -199,7 +199,7 @@
"source": [
"### Plotting simulations\n",
"\n",
"We can also plot simulations together with the meausurements, for example, to judge the model fit. For this, we need to provide a simulation file as `simulations_df`. A simulation file has the same format as the measurement file, but instead of the `measurement` column, it contains simulation outputs in the `simulation` column. The simulations are plotted as solid lines, while the measurements are plotted as dashed lines:"
"We can also plot simulations together with the measurements, for example, to judge the model fit. For this, we need to provide a simulation file as `simulations_df`. A simulation file has the same format as the measurement file, but instead of the `measurement` column, it contains simulation outputs in the `simulation` column. The simulations are plotted as solid lines, while the measurements are plotted as dashed lines:"
],
"metadata": {
"collapsed": false
Expand Down Expand Up @@ -471,7 +471,7 @@
"source": [
"### Plotting individual replicates\n",
"\n",
"If the measurement file contains replicates, the replicates can also be visualized individually. Below you can see the same measurement data plotted as mean and standard deviations (left) and as replicates (right):"
"If the measurement file contains replicates, the replicates can also be visualized individually by setting the value for `plotTypeData` to `replicate`. Below, you can see the same measurement data plotted as mean and standard deviations (left) and as replicates (right):"
],
"metadata": {
"collapsed": false
Expand Down Expand Up @@ -501,7 +501,7 @@
"source": [
"### Scatter plots\n",
"\n",
"If both measurements and simulated data are available, they can be visualized using scatter plot:"
"If both measurements and simulated data are available, they can be visualized as scatter plot by setting `plotTypeSimulation` to `ScatterPlot`:"
],
"metadata": {
"collapsed": false
Expand Down Expand Up @@ -531,7 +531,7 @@
"source": [
"### Further examples\n",
"\n",
"Here are some further visualization examples, including barplots:"
"Here are some further visualization examples, including barplots (by setting `plotTypeSimulation` to `BarPlot`):"
],
"metadata": {
"collapsed": false
Expand Down

0 comments on commit a52b93a

Please sign in to comment.