Table of Contents

Class PlotStyle

Namespace
ScottPlot
Assembly
ScottPlot.dll

This object holds many common plot style customizations and facilitates switching between styles or copying styles from one plot to another.

public class PlotStyle
Inheritance
PlotStyle
Derived
Inherited Members
Extension Methods

Properties

AxisColor

public Color? AxisColor { get; set; }

Property Value

Color?

DataBackgroundColor

public Color? DataBackgroundColor { get; set; }

Property Value

Color?

FigureBackgroundColor

public Color? FigureBackgroundColor { get; set; }

Property Value

Color?

GridMajorLineColor

public Color? GridMajorLineColor { get; set; }

Property Value

Color?

LegendBackgroundColor

public Color? LegendBackgroundColor { get; set; }

Property Value

Color?

LegendFontColor

public Color? LegendFontColor { get; set; }

Property Value

Color?

LegendOutlineColor

public Color? LegendOutlineColor { get; set; }

Property Value

Color?

Palette

public IPalette? Palette { get; set; }

Property Value

IPalette

Methods

Apply(Plot)

Apply these style settings to the given plot

public void Apply(Plot plot)

Parameters

plot Plot

FromPlot(Plot)

Return the styles represented by the given plot

public static PlotStyle FromPlot(Plot plot)

Parameters

plot Plot

Returns

PlotStyle

WhereDifferentFrom(PlotStyle)

Return a plot style with all values nulled except those that are different than the given style

public PlotStyle WhereDifferentFrom(PlotStyle other)

Parameters

other PlotStyle

Returns

PlotStyle