gustavdelius / mizer

This is my old mizer fork that is not actively used any more but still has lots of material in its many branches.
http://gustavdelius.github.io/mizer/
0 stars 2 forks source link

Allow side-by-side comparison of plots from different simulations, using the same axes. #67

Closed gustavdelius closed 3 years ago

gustavdelius commented 6 years ago

Putting plots side-by-side is not the difficult bit, but forcing both plots to use the same axes is.

gustavdelius commented 6 years ago

My current thinking of how to do this best is to have methods that return the data frames of things like Biomass, Yield, etc for a single simulation. Then call a function display_frames() with two or more frames and let ggplot use its facetting ability to display plots of the information in these frames side by side.

gustavdelius commented 3 years ago

This is beginning to exist in core mizer with the plotDataFrames() function and the return_data argument to plot functions.