PlotTheme

PlotTheme

is an option for plotting and related functions that specifies an overall theme for visualization elements and styles.

Details

  • PlotTheme->theme effectively sets the default values for multiple plot options.
  • Explicit plot options will override any settings set by theme.
  • PlotTheme->{theme1,theme2,} will automatically combine theme1, theme2, etc.
  • Possible settings for PlotTheme include:
  • $PlotThemesystemwide theme setting
    Automaticautomatically adapt to background and stylesheet
    "name"explicit plot theme
  • Base themes affect the whole visualization and are typically used as a single setting. For special effects or situations, they can be combined with feature themes.
  • Common base themes include:
  • "Business"a bright, modern look appropriate for business presentations or infographics
    "Detailed"identify data by employing components such as a grid and legend for reports
    "Marketing"elegant, eye-catching design suitable for marketing needs
    "Minimal"simple data plot without ticks or labels
    "Monochrome"single-color design using dashed lines and plot markers to differentiate datasets for printing and accessibility
    "Scientific"candid design useful for analyzing detailed data without overbearing colors for journals and technical presentations
    "Web"clean, bold design suitable for a consumer website or blog
    "Classic"historical design of plots to remain compatible with existing uses
  • Feature themes affect specific aspects of a visualization and are typically used in combination with a base theme or together with other feature themes.
  • Axes feature themes affect axes, frames, and grids. Themes include:
  • "NoAxes"no axes or frame
    "MinimalAxes"axes without ticks
    "Grid"only grid lines
    "SingleAxis"bottom axis with height labels
    "FullAxes"axes around the edge
    "Frame"frame with ticks
    "HeightGrid"height grid lines instead of an axis
    "FullAxesGrid"axes with grid lines
    "FrameGrid"frame with grid lines
  • Color feature themes affect lines and surfaces. Themes include:
  • "BlackBackground"black background with vibrant plot color
    "BackgroundColor"plot colors adapt to notebook background color
    {"BackgroundColor",color}plot colors adapt to background color
    "BoldColor"12 bold colors
    "CoolColor"8 cool colors
    "DarkColor"8 dark colors
    "GrayColor"full range of grayscale colors
    "NeonColor"8 neon colors
    "PastelColor"8 pastel colors
    "RoyalColor"8 royal colors
    "VibrantColor"10 vibrant colors
    "WarmColor"8 warm colors
  • Font feature themes affect axis labels, plot labels, and legends. Themes include:
  • "BoldLabels"bold sans font
    "ItalicLabels"italic serif font
    "LargeLabels"large sans font
    "SmallLabels"small serif font
    "SansLabels"sans font
    "SerifLabels"serif font
  • Size feature themes affect a visualization's size and shape. Themes include:
  • "Sparkline"text-sized graphics
    "Icon"small, simple graphics
    "Thumbnail"thumbnail-sized graphics
    "Square"square graphics
    "Tall"tall graphics
    "Wide"wide graphics
    "SizeScale"font size and line thickness increase with size
  • Point marker feature themes affect PlotMarkers. Themes include:
  • "OpenMarkers"open-point marker
    "OpenMarkersThick"thick open-point markers
    "PlotMarkers"alternating closed- and open-point markers
  • Curve feature themes affect plot lines. Themes include:
  • "ThinLines"thin plot lines
    "MediumLines"medium plot lines
    "ThickLines"thick plot lines
    "DashedLines"dashed plot lines
  • Surface mesh feature themes affect the mesh of 3D surfaces. Themes include:
  • "DarkMesh"dark mesh lines
    "GrayMesh"gray mesh lines
    "LightMesh"light mesh lines
    "ZMesh"vertically distributed mesh lines
  • Chart feature themes affect the data's graphic styling. Themes include:
  • "BoldScheme"bold chart elements
    "FadeScheme"faded chart elements
  • Volume feature themes affect 3D surfaces, which is useful for 3D printing. Themes include:
  • "ThickSurface"add thickness to surfaces
    "FilledSurface"add filling below surfaces

Examples

open allclose all

Basic Examples  (3)

Use the default theme:

Use a monochrome theme with dashed curves:

Use a theme with grid lines and a legend:

Scope  (9)

Default  (1)

Examples with PlotTheme->"Default":

Business  (1)

Examples with PlotTheme->"Business":

Scientific  (1)

Examples with PlotTheme->"Scientific":

Monochrome  (1)

Examples with PlotTheme->"Monochrome":

Detailed  (1)

Examples with PlotTheme->"Detailed":

Marketing  (1)

Examples with PlotTheme->"Marketing":

Classic  (1)

Examples with PlotTheme->"Classic":

Minimal  (1)

Examples with PlotTheme->"Minimal":

Web  (1)

Examples with PlotTheme->"Web":

Wolfram Research (2014), PlotTheme, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotTheme.html (updated 2016).

Text

Wolfram Research (2014), PlotTheme, Wolfram Language function, https://reference.wolfram.com/language/ref/PlotTheme.html (updated 2016).

CMS

Wolfram Language. 2014. "PlotTheme." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2016. https://reference.wolfram.com/language/ref/PlotTheme.html.

APA

Wolfram Language. (2014). PlotTheme. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PlotTheme.html

BibTeX

@misc{reference.wolfram_2024_plottheme, author="Wolfram Research", title="{PlotTheme}", year="2016", howpublished="\url{https://reference.wolfram.com/language/ref/PlotTheme.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_plottheme, organization={Wolfram Research}, title={PlotTheme}, year={2016}, url={https://reference.wolfram.com/language/ref/PlotTheme.html}, note=[Accessed: 22-December-2024 ]}