Themes

theme_base()

Theme Base

theme_calc()

Theme Calc

theme_economist() theme_economist_white()

ggplot color theme based on the Economist

theme_excel()

ggplot theme based on old Excel plots

theme_excel_new()

ggplot theme similar to current Excel plot defaults

theme_few()

Theme based on Few's "Practical Rules for Using Color in Charts"

theme_fivethirtyeight()

Theme inspired by fivethirtyeight.com plots

theme_foundation()

Foundation Theme

theme_gdocs()

Theme with Google Docs Chart defaults

theme_hc()

Highcharts Theme

theme_igray()

Inverse gray theme

theme_map()

Clean theme for maps

theme_pander()

A ggplot theme originated from the pander package

theme_par()

Theme which uses the current ‘base’ graphics parameter values from par(). Not all par() parameters, are supported, and not all are relevant to ggplot2 themes.

theme_solarized() theme_solarized_2()

ggplot color themes based on the Solarized palette

theme_solid()

Theme with nothing other than a background color

theme_stata()

Themes based on Stata graph schemes

theme_tufte()

Tufte Maximal Data, Minimal Ink Theme

theme_wsj()

Wall Street Journal theme

Color Scales

Provided ggplot2 scales for the color (colour) aesthetic. Scales control the details of how data values are translated to visual properties.

colorblind_pal() scale_colour_colorblind() scale_color_colorblind() scale_fill_colorblind()

Colorblind Color Palette (Discrete) and Scales

scale_fill_calc() scale_colour_calc() scale_color_calc()

LibreOffice Calc color scales

scale_colour_tableau() scale_fill_tableau() scale_color_tableau()

Tableau color scales (discrete)

scale_colour_canva() scale_color_canva() scale_fill_canva()

Discrete color scale using canva.com color palettes

scale_colour_gradient2_tableau() scale_fill_gradient2_tableau() scale_color_gradient2_tableau()

Tableau diverging colour scales (continuous)

scale_colour_gradient_tableau() scale_fill_gradient_tableau() scale_color_gradient_tableau() scale_color_continuous_tableau() scale_fill_continuous_tableau()

Tableau sequential colour scales (continuous)

scale_colour_economist() scale_color_economist() scale_fill_economist()

Economist color scales

scale_fill_excel() scale_colour_excel() scale_color_excel()

Excel 97 ugly color scales

scale_colour_excel_new() scale_color_excel_new() scale_fill_excel_new()

Excel (current versions) color scales

scale_colour_few() scale_color_few() scale_fill_few()

Color scales from Few's "Practical Rules for Using Color in Charts"

scale_colour_fivethirtyeight() scale_color_fivethirtyeight() scale_fill_fivethirtyeight()

fivethirtyeight.com color scales

scale_fill_gdocs() scale_colour_gdocs() scale_color_gdocs()

Google Docs color scales

scale_colour_hc() scale_color_hc() scale_fill_hc()

Highcharts color and fill scales

scale_color_pander() scale_colour_pander() scale_fill_pander()

Color scale from the pander package

scale_colour_ptol() scale_color_ptol() scale_fill_ptol()

Color Scales from Paul Tol's "Colour Schemes

scale_fill_solarized() scale_colour_solarized() scale_color_solarized()

Solarized color scales

scale_colour_stata() scale_fill_stata() scale_color_stata()

Stata color scales

scale_colour_wsj() scale_color_wsj() scale_fill_wsj()

Wall Street Journal color and fill scales

Shape Scales

Provided ggplot2 scales for the shape aesthetic. Scales control the details of how data values are translated to visual properties.

scale_shape_calc()

Calc shape scale

scale_shape_circlefill()

Filled Circle Shape palette (discrete)

scale_shape_cleveland()

Shape scales from Cleveland "Elements of Graphing Data"

scale_shape_few()

Scales for shapes from "Show Me the Numbers"

scale_shape_stata()

Stata shape scale

scale_shape_tableau()

Tableau shape scales

scale_shape_tremmel()

Shape scales from Tremmel (1995)

Lintetype Scales

Provided ggplot2 scales for the linetype aesthetic. Scales control the details of how data values are translated to visual properties.

scale_linetype_stata()

Stata linetype palette (discrete)

Color, Shape, and Linetype Palettes

Color, shape, and linetype palettes.

calc_pal()

Calc color palette (discrete)

calc_shape_pal()

Calc shape palette (discrete)

canva_pal()

Canva.com color palettes

circlefill_shape_pal()

Filled Circle Shape palette (discrete)

cleveland_shape_pal()

Shape palette from Cleveland "Elements of Graphing Data" (discrete).

colorblind_pal() scale_colour_colorblind() scale_color_colorblind() scale_fill_colorblind()

Colorblind Color Palette (Discrete) and Scales

economist_pal()

Economist color palette (discrete)

excel_new_pal()

Excel (current versions) color palettes (discrete)

excel_pal()

Excel 97 ugly color palettes (discrete)

few_pal()

Color Palettes Few "Show Me the Numbers"

few_shape_pal()

Shape palette from "Show Me the Numbers" (discrete)

fivethirtyeight_pal()

fivethirtyeight.com color palette

gdocs_pal()

Google Docs color palette (discrete)

hc_pal()

Highcharts JS color palette (discrete)

ptol_pal()

Color Palettes from Paul Tol's "Colour Schemes"

solarized_pal()

Solarized color palette (discrete)

stata_linetype_pal()

Stata linetype palette (discrete)

stata_pal()

Stata color palettes (discrete)

stata_shape_pal()

Stata shape palette (discrete)

tableau_color_pal()

Tableau Color Palettes (discrete)

tableau_gradient_pal() tableau_seq_gradient_pal() tableau_div_gradient_pal()

Tableau colour gradient palettes (continuous)

tableau_shape_pal()

Tableau Shape Palettes (discrete)

tremmel_shape_pal()

Shape palette from Tremmel (1995) (discrete)

wsj_pal()

Wall Street Journal color palette (discrete)

palette_pander()

Color palette from the pander package

Geoms and Stats

ggplot2 geom and stat layers.

geom_rangeframe()

Range Frames

geom_tufteboxplot()

Tufte's Box Plot

stat_fivenumber()

Calculate components of a five-number summary

Other functions

bank_slopes()

Bank Slopes to 45 degrees

extended_range_breaks_() extended_range_breaks()

Pretty axis breaks inclusive of extreme values

show_linetypes()

Show linetypes

show_shapes()

Show shapes

smart_digits() smart_digits_format()

Format numbers with automatic number of digits