C# Class YAMP.ErrorPlotValue

Is the type for errorbar plots.
Inheritance: XYPlotValue
ファイルを表示 Open project: FlorianRappl/YAMP Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddPoints ( MatrixValue m ) : void

Adds (multiple) series in form of a matrix.

AddPoints ( MatrixValue y, MatrixValue err ) : void

Adds a single series to the plot.

AddPoints ( MatrixValue x, MatrixValue y, MatrixValue err ) : void

Adds a single series to the plot.

AddValues ( double _x, double _y, double _xerr, double _yerr ) : void
Deserialize ( byte content ) : Value

Converts a set of bytes to a new instance.

ErrorPlotValue ( ) : System

Creates a new instance.

Serialize ( ) : byte[]

Converts the given instance to an array of bytes.

this ( int index, int point ) : ErrorPointPair

Gets a certain point of the specified series.

this ( int index ) : Points

Gets the series at the specified index.

Method Details

AddPoints() public method

Adds (multiple) series in form of a matrix.
public AddPoints ( MatrixValue m ) : void
m MatrixValue The matrix which contains the values.
return void

AddPoints() public method

Adds a single series to the plot.
public AddPoints ( MatrixValue y, MatrixValue err ) : void
y MatrixValue The y values.
err MatrixValue The y errors.
return void

AddPoints() public method

Adds a single series to the plot.
public AddPoints ( MatrixValue x, MatrixValue y, MatrixValue err ) : void
x MatrixValue The x values.
y MatrixValue The y values.
err MatrixValue The (x and y) errors.
return void

AddValues() public method

public AddValues ( double _x, double _y, double _xerr, double _yerr ) : void
_x double
_y double
_xerr double
_yerr double
return void

Deserialize() public method

Converts a set of bytes to a new instance.
public Deserialize ( byte content ) : Value
content byte The binary representation.
return Value

ErrorPlotValue() public method

Creates a new instance.
public ErrorPlotValue ( ) : System
return System

Serialize() public method

Converts the given instance to an array of bytes.
public Serialize ( ) : byte[]
return byte[]

this() public method

Gets a certain point of the specified series.
public this ( int index, int point ) : ErrorPointPair
index int The 0-based index of the series.
point int The 0-based index of the point.
return ErrorPointPair

this() public method

Gets the series at the specified index.
public this ( int index ) : Points
index int The 0-based index of the series.
return Points