C# Класс YAMP.Plot2DValue

Is the type for basic 2D plotting.
Наследование: XYPlotValue
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
AddPoints ( MatrixValue m ) : void

Adds points given by a matrix. Vector ? x Values will be generated Matrix ? Investigates which dimension is bigger and takes the larger one as values, the lighter one as series. In a matrix the first series is always excluded and represents the x values.

AddPoints ( MatrixValue x, MatrixValue y ) : void

Adds points with 2 different matrices. If x is a vector then it will represent the x values for different series that are present in y. Otherwise both matrices are interpreted as "stand-alone" and will be just added to the AddPoints that take 1 matrix.

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

Converts a set of bytes to a new instance.

Plot2DValue ( ) : System

Creates a new instance.

Serialize ( ) : byte[]

Converts the given instance to an array of bytes.

this ( int index, int point ) : PointPair

Gets a certain point of the specified series.

this ( int index ) : Points

Gets the series at the specified index.

Описание методов

AddPoints() публичный Метод

Adds points given by a matrix. Vector ? x Values will be generated Matrix ? Investigates which dimension is bigger and takes the larger one as values, the lighter one as series. In a matrix the first series is always excluded and represents the x values.
public AddPoints ( MatrixValue m ) : void
m MatrixValue The matrix with the (multiple) series.
Результат void

AddPoints() публичный Метод

Adds points with 2 different matrices. If x is a vector then it will represent the x values for different series that are present in y. Otherwise both matrices are interpreted as "stand-alone" and will be just added to the AddPoints that take 1 matrix.
public AddPoints ( MatrixValue x, MatrixValue y ) : void
x MatrixValue The first matrix, usually a vector (set of x values).
y MatrixValue The second matrix, usually a set of y series (each series is a set of y values).
Результат void

AddValues() публичный Метод

public AddValues ( double _x, double _y ) : void
_x double
_y double
Результат void

Deserialize() публичный Метод

Converts a set of bytes to a new instance.
public Deserialize ( byte content ) : Value
content byte The binary representation.
Результат Value

Plot2DValue() публичный Метод

Creates a new instance.
public Plot2DValue ( ) : System
Результат System

Serialize() публичный Метод

Converts the given instance to an array of bytes.
public Serialize ( ) : byte[]
Результат byte[]

this() публичный Метод

Gets a certain point of the specified series.
public this ( int index, int point ) : PointPair
index int The 0-based index of the series.
point int The 0-based index of the point.
Результат PointPair

this() публичный Метод

Gets the series at the specified index.
public this ( int index ) : Points
index int The 0-based index of the series.
Результат Points