Convenience function to easily apply colors palettes.

gauge_color_viridis(g)

gauge_color_plasma(g)

gauge_color_inferno(g)

gauge_color_magma(g)

gauge_color_accent(g)

gauge_color_dark2(g)

gauge_color_paired(g)

gauge_color_pastel1(g)

gauge_color_pastel2(g)

gauge_color_set1(g)

gauge_color_set2(g)

gauge_color_set3(g)

gauge_color_neon(g)

gauge_color_std(g)

gauge_color_pink(g)

gauge_color_orange(g)

gauge_color_lime(g)

gauge_color_blue(g)

gauge_color_aw(g)

gauge_color_g2rq(g)

gauge_color_g2rc(g)

gauge_color_g2rd(g)

gauge_color_brbg(g)

gauge_color_piyg(g)

gauge_color_prgn(g)

gauge_color_puor(g)

gauge_color_rdbu(g)

gauge_color_rdgy(g)

gauge_color_rdylbu(g)

gauge_color_rdylgn(g)

gauge_color_spectral(g)

gauge_color_flashy(g)

gauge_color_red(g)

gauge_color_ryb(g)

gauge_color_bwg(g)

Arguments

g

An object of class g2r or g2Proxy as returned by g2() or g2_proxy().

Palettes

Palletes from the viridisLite package, ideal for: continuous data.

  • gauge_color_viridis (continuous)

  • gauge_color_plasma (continuous)

  • gauge_color_inferno (continuous)

  • gauge_color_magma (continuous)

Palettes from color brewer:

  • gauge_color_accent (qualitative)

  • gauge_color_dark2 (qualitative)

  • gauge_color_paired (qualitative)

  • gauge_color_pastel1 (qualitative)

  • gauge_color_pastel2 (qualitative)

  • gauge_color_set1 (qualitative)

  • gauge_color_set2 (qualitative)

  • gauge_color_set3 (qualitative)

  • gauge_color_brbg (diverging)

  • gauge_color_piyg (diverging)

  • gauge_color_prgn (diverging)

  • gauge_color_puor (diverging)

  • gauge_color_rdbu (diverging)

  • gauge_color_rdgy (diverging)

  • gauge_color_rdylbu (diverging)

  • gauge_color_rdylgn (diverging)

  • gauge_color_spectral (diverging)

Palettes taken from coolors.co:

  • gauge_color_neon (continuous)

  • gauge_color_std (continuous)

  • gauge_color_orange (continuous)

  • gauge_color_pink (continuous)

  • gauge_color_lime (continuous)

  • gauge_color_blue (continuous)

  • gauge_color_red (discrete)

  • gauge_color_flashy (discrete)

  • gauge_color_ryb (discrete)

  • gauge_color_bwg (diverging)

Palettes from awtools package:

  • gauge_color_aw (qualitative)

Custom:

  • gauge_color_g2rc (continuous)

  • gauge_color_g2rq (qualitative)

  • gauge_color_g2rd (diverging)