| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties Methods Structures Enumerations Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Style examples > Inverted Y-scale Inverted Y-scaleThe Y-scale is drawn down from the top. sp.Heading = "Top X-Axis with Inverted Y-Axis"; sp.XAxisStyle = XAxisStyles.ArrowedAxis|XAxisStyles.AtEndCaption|XAxisStyles.TopAxis; sp.YAxisStyle = YAxisStyles.ArrowedAxis|YAxisStyles.InvertAxis|YAxisStyles.AtEndCaption; sp.YCaption = "Depth (m)"; sp.XCaption = "Distance from Shore (m)"; This style would always be used with XAxisStyle set to TopAxis – typically to plot depth below ground or sample age. Pollen diagrams are typical. |