Skip to content

definition of ylim in catcherror plots includes 'year' alongside 'catch' #26

Description

@mollystevens-noaa

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!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions