C# Class YAMP.ContourPlotValue

Contains the data for contourplot data.
Inheritance: XYPlotValue
Exibir arquivo Open project: FlorianRappl/YAMP Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
AddPoints ( MatrixValue M ) : void

Adds the series in form of a matrix.

AddPoints ( MatrixValue X, MatrixValue Y, MatrixValue Z ) : void

Adds three vectors which represent X, Y and the values.

AddValues ( double _x, double _y, double _z ) : void
ContourPlotValue ( ) : System

Creates a new instance.

Deserialize ( byte content ) : Value

Converts a set of bytes to a new instance.

Serialize ( ) : byte[]

Converts the given instance to an array of bytes.

SetLevels ( MatrixValue v ) : void

Sets the levels to the given values.

SetLevels ( double zmin, double zmax, int n ) : void

Sets the n levels within zmin and zmax.

SetLevels ( int n ) : void

Sets the levels automatically.

this ( int index, int point ) : ContourPoint

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 the 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 three vectors which represent X, Y and the values.
public AddPoints ( MatrixValue X, MatrixValue Y, MatrixValue Z ) : void
X MatrixValue A vector with the x values.
Y MatrixValue A vector with the y values.
Z MatrixValue A matrix with the x times y values for z.
return void

AddValues() public method

public AddValues ( double _x, double _y, double _z ) : void
_x double
_y double
_z double
return void

ContourPlotValue() public method

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

Deserialize() public method

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

Serialize() public method

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

SetLevels() public method

Sets the levels to the given values.
public SetLevels ( MatrixValue v ) : void
v MatrixValue A vector with the various levels.
return void

SetLevels() public method

Sets the n levels within zmin and zmax.
public SetLevels ( double zmin, double zmax, int n ) : void
zmin double The lowest level.
zmax double The highest level.
n int The number of levels (at least 2).
return void

SetLevels() public method

Sets the levels automatically.
public SetLevels ( int n ) : void
n int The number of levels to set.
return void

this() public method

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

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