fishR-Core-Team / FSA

FSA (Fisheries Stock Assessment) package provides R functions to conduct typical introductory fisheries analyses.
https://fishr-core-team.github.io/FSA/
GNU General Public License v2.0
65 stars 20 forks source link

Handled colors #74

Closed droglenc closed 3 years ago

droglenc commented 3 years ago

This was a push to remove the old (and hacky) chooseColors() and paletteChoices(). These were largely replaced with iCheckMultColors() that relies heavily on hcl.colors() from base R. These change required changes to the way colors were handled in alkPlot(), nlsTraceplot(), fitPlot(), and residPlot() (changes in the last two are hacky at this time as I suspect we will remove these two functions in future versions of FSA).

The default colors may be somewhat worse (but that can be looked into), but there is much more flexibility for colors to the user.