GitHub Repo stars

Axis with Subtitle

Users can create their own fully custom axes to replace the default ones (as demonstrated in the demo app). Some experimental axes are available for users who may be interested in alternative axis display styles.

This code sample is specific to ScottPlot 5 (details)
ScottPlot.Plot myPlot = new();

// Plot some sample data

// Instantiate a custom axis and customize it as desired
ScottPlot.AxisPanels.Experimental.LeftAxisWithSubtitle customAxisY = new()
    LabelText = "My Custom Y Axis",
    SubLabelText = "It comes with a subtitle for the axis"

// Remove the default Y axis and add the custom one to the plot

myPlot.SavePng("demo.png", 400, 300);

Edit on GitHub