sizespectrum / mizer

Multi-species size-based ecological modelling in R
https://sizespectrum.org/mizer
38 stars 43 forks source link

Allow user to specify range on axes in plots #250

Open gustavdelius opened 2 years ago

gustavdelius commented 2 years ago

Even functions that have a ylim argument only use it to subselect the data, not to specify the limits on the axis. The wlim and ylim arguments would need to be passed to plotDataFrame() and used there to set the axis limits.

Being able to fix the axes would be important for example for visually comparing two plots with diffviewer, see #194.