|
ScottPlot
|
This interface is used by plottables to access data while rendering. This interface describes Y data sampled along an X axis at a fixed period. More...
Public Member Functions | |
| PixelColumn | GetPixelColumn (IAxes axes, int xPixelIndex) |
| Returns range information about the data at a specific pixel location. | |
| int | GetIndex (double x, bool clamp) |
| Returns the predicted index for the data point nearest a given X position. If clamped, the returned index will be clamped between 0 and Length - 1. | |
| double | GetX (int index) |
| Returns the X position for a given index. | |
| double | GetY (int index) |
| Returns the Y position for a given index. | |
| IReadOnlyList< double > | GetYs () |
| Return an object for working with all Y values. | |
| IEnumerable< double > | GetYs (int index1, int index2) |
| Y values between a range of indexes (inclusive). | |
| CoordinateRange | GetLimitsX () |
| CoordinateRange | GetLimitsY () |
| AxisLimits | GetLimits () |
Properties | |
| double | Period [get, set] |
| X distance between Y points. | |
| double | XOffset [get, set] |
| X position of the first data point. | |
| double | YOffset [get, set] |
| Shift Y position of all values by this amount. | |
| double | YScale [get, set] |
| Multiply Y values by this scale factor (before applying offset) | |
| int | MaximumIndex [get, set] |
| Do not display data above this index. | |
| int | MinimumIndex [get, set] |
| Do not display data below this index. | |
This interface is used by plottables to access data while rendering. This interface describes Y data sampled along an X axis at a fixed period.
| int ScottPlot.ISignalSource.GetIndex | ( | double | x, |
| bool | clamp | ||
| ) |
Returns the predicted index for the data point nearest a given X position. If clamped, the returned index will be clamped between 0 and Length - 1.
| AxisLimits ScottPlot.ISignalSource.GetLimits | ( | ) |
| CoordinateRange ScottPlot.ISignalSource.GetLimitsX | ( | ) |
| CoordinateRange ScottPlot.ISignalSource.GetLimitsY | ( | ) |
| PixelColumn ScottPlot.ISignalSource.GetPixelColumn | ( | IAxes | axes, |
| int | xPixelIndex | ||
| ) |
Returns range information about the data at a specific pixel location.
Implemented in ScottPlot.DataSources.FastSignalSourceDouble, ScottPlot.DataSources.SignalSourceDouble, ScottPlot.DataSources.SignalSourceGenericArray< T >, and ScottPlot.DataSources.SignalSourceGenericList< T >.
| double ScottPlot.ISignalSource.GetX | ( | int | index | ) |
Returns the X position for a given index.
| double ScottPlot.ISignalSource.GetY | ( | int | index | ) |
Returns the Y position for a given index.
Implemented in ScottPlot.DataSources.FastSignalSourceDouble, ScottPlot.DataSources.SignalSourceDouble, ScottPlot.DataSources.SignalSourceGenericArray< T >, and ScottPlot.DataSources.SignalSourceGenericList< T >.
| IReadOnlyList< double > ScottPlot.ISignalSource.GetYs | ( | ) |
Return an object for working with all Y values.
Implemented in ScottPlot.DataSources.FastSignalSourceDouble, ScottPlot.DataSources.SignalSourceDouble, ScottPlot.DataSources.SignalSourceGenericArray< T >, and ScottPlot.DataSources.SignalSourceGenericList< T >.
| IEnumerable< double > ScottPlot.ISignalSource.GetYs | ( | int | index1, |
| int | index2 | ||
| ) |
Y values between a range of indexes (inclusive).
Implemented in ScottPlot.DataSources.FastSignalSourceDouble, ScottPlot.DataSources.SignalSourceDouble, ScottPlot.DataSources.SignalSourceGenericArray< T >, and ScottPlot.DataSources.SignalSourceGenericList< T >.
|
getset |
Do not display data above this index.
|
getset |
Do not display data below this index.
|
getset |
X distance between Y points.
|
getset |
X position of the first data point.
|
getset |
Shift Y position of all values by this amount.
|
getset |
Multiply Y values by this scale factor (before applying offset)