max(predC) below includes both year and landings
|
plot(years,(jabba$catch),type="n",ylim=c(0,max(predC,na.rm=T)),lty=1,lwd=1.3,xlab="Year",ylab=paste0("Catch ",jabba$settings$catch.metric),main="") |
We're using millions of pounds for landings, so all of our ylim catcherror plots go up to 2022 (terminal year of our data). Changing this to...
plot(years,(jabba$catch),type="n",ylim=c(0,max(cord.y,na.rm=T)),lty=1,lwd=1.3,xlab="Year",ylab=paste0("Catch ",jabba$settings$catch.metric),main="")
...fixes the problem. I tried to do a pull request since this is a simple fix, but I don't think I have permissions. Thanks!!
max(predC) below includes both year and landings
JABBA/R/jabba_plots.R
Line 117 in 565d1ab
We're using millions of pounds for landings, so all of our ylim catcherror plots go up to 2022 (terminal year of our data). Changing this to...
plot(years,(jabba$catch),type="n",ylim=c(0,max(cord.y,na.rm=T)),lty=1,lwd=1.3,xlab="Year",ylab=paste0("Catch ",jabba$settings$catch.metric),main="")
...fixes the problem. I tried to do a pull request since this is a simple fix, but I don't think I have permissions. Thanks!!