C# Класс YAMP.PlotValue

Abstract base class for any plot.
Наследование: Value
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

Метод Описание
Copy ( ) : Value

Passes a reference (not a copy!) to the current object.

PlotValue ( ) : System

Creates a new instance.

Update ( ) : void

Updates the data region, i.e. the complete plot.

UpdateLayout ( ) : void

Updates the layout of the plot, i.e. the properties of the plot itself.

UpdateProperties ( ) : void

Updates the properties of the plot series.

Защищенные методы

Метод Описание
Convert ( MatrixValue m, Int32 offset, Int32 length ) : Double[]

Converts a given matrixvalue (seen as a vector) into a double array.

ConvertX ( MatrixValue m, Int32 dx, Int32 length, Int32 dy ) : Double[]

Converts only column values of the matrix into a double array.

ConvertY ( MatrixValue m, Int32 dy, Int32 length, Int32 dx ) : Double[]

Converts only row values of the matrix into a double array.

Generate ( Double minValue, Double step, Int32 count ) : Double[]

Generates an array of double values.

MakeArrayPeriodic ( Double values, Int32 n ) : Double[]

Increases the size of an array to n elements, repeating the containing elements.

Приватные методы

Метод Описание
RaisePlotChanged ( String property ) : void

Invokes the OnPlotChanged event if it has been set.

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

Convert() защищенный Метод

Converts a given matrixvalue (seen as a vector) into a double array.
protected Convert ( MatrixValue m, Int32 offset, Int32 length ) : Double[]
m MatrixValue The MatrixValue to convert.
offset System.Int32 The offset in the matrix (0 = start with 1st element).
length System.Int32 The number of elements to convert.
Результат Double[]

ConvertX() защищенный Метод

Converts only column values of the matrix into a double array.
protected ConvertX ( MatrixValue m, Int32 dx, Int32 length, Int32 dy ) : Double[]
m MatrixValue The MatrixValue to convert.
dx System.Int32 The offset in columns.
length System.Int32 The number of rows to consider.
dy System.Int32 The offset in rows.
Результат Double[]

ConvertY() защищенный Метод

Converts only row values of the matrix into a double array.
protected ConvertY ( MatrixValue m, Int32 dy, Int32 length, Int32 dx ) : Double[]
m MatrixValue The MatrixValue to convert.
dy System.Int32 The offset in rows.
length System.Int32 The number of columns to consider.
dx System.Int32 The offset in columns.
Результат Double[]

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

Passes a reference (not a copy!) to the current object.
public Copy ( ) : Value
Результат Value

Generate() защищенный Метод

Generates an array of double values.
protected Generate ( Double minValue, Double step, Int32 count ) : Double[]
minValue Double The first value in the array.
step Double The difference between each element.
count System.Int32 The number of elements in the array.
Результат Double[]

MakeArrayPeriodic() защищенный Метод

Increases the size of an array to n elements, repeating the containing elements.
protected MakeArrayPeriodic ( Double values, Int32 n ) : Double[]
values Double The current array.
n System.Int32 The desired size of the array.
Результат Double[]

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

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

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

Updates the data region, i.e. the complete plot.
public Update ( ) : void
Результат void

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

Updates the layout of the plot, i.e. the properties of the plot itself.
public UpdateLayout ( ) : void
Результат void

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

Updates the properties of the plot series.
public UpdateProperties ( ) : void
Результат void