PlotTheme

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

DetailsDetails

  • 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 , , 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 gridlines
    "SingleAxis"bottom axis with height labels
    "FullAxes"axes around the edge
    "Frame"frame with ticks
    "HeightGrid"height gridlines instead of an axis
    "FullAxesGrid"axes with gridlines
    "FrameGrid"frame with gridlines
  • Color feature themes affect lines and surfaces. Themes include:
  • "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 thickness feature themes affect plot lines. Themes include:
  • "ThinLines"thin plot lines
    "MediumLines"medium plot lines
    "ThickLines"thick 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"vertical mesh lines
  • Chart Element Schemes feature themes affect the data's graphic styling. Themes include:
  • "BoldScheme"bold elements from Chart Element Schemes
    "FadeScheme"faded elements from Chart Element Schemes

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Use the default theme:

In[1]:=
Click for copyable input
Out[1]=

Use a monochrome theme with dashed curves:

In[1]:=
Click for copyable input
Out[1]=

Use a theme with gridlines and a legend:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2014
(10.0)