pyPESTO icon indicating copy to clipboard operation
pyPESTO copied to clipboard

Plotting of many forward simulation in one window

Open paulstapor opened this issue 7 years ago • 5 comments

If I understood correctly, it is an aim for Amici to have plotting routines for the model simulation. The question is, if we want to use those in pyPESTO or build other routines in pyPESTO for plotting the forward simulation.

No matter how we decide on this: We should keep in mind to have it flexible enough to visualize many trajectories for many parameter samples in one plot, since we may want to visualize MCMC results later.

paulstapor avatar Aug 27 '18 12:08 paulstapor

I discussed with @DantongWang that all plotting routines should take a matplotlib.axes.Axes as optional input. This allows to extend the respective plot and should make it also pretty simple to add additional trajectories.

dweindl avatar Aug 27 '18 12:08 dweindl

can we please use http://ggplot.yhathq.com instead of matplotlib? The plotting routines really aren't something one should dread when switching from matlab and the grammar of graphics is such a neat concept.

FFroehlich avatar Aug 28 '18 13:08 FFroehlich

I don't have too much experience with ggplot. Anybody here using this in python? The repository hasn't been updated in 2 years...

dweindl avatar Aug 28 '18 14:08 dweindl

https://github.com/has2k1/plotnine is a fork of ggplot that seems to be more active

FFroehlich avatar Aug 28 '18 14:08 FFroehlich

matplotlib is the default plotting routine though, so worked on by more developers, so less risk of running into issues at some point/date, and more functionality I would guess ... (and i think the syntax is close to but still better than matlab, in particular more object-oriented) ...

yannikschaelte avatar Aug 28 '18 15:08 yannikschaelte