C# Класс NPlot.AxesConstraint.YPixelWorldLength

Defines an AxisConstraint that forces the world length corresponding to one pixel on the left y-axis to be a certain value. TODO: Allow the pixel world length to be set for the right axis.
Наследование: AxesConstraint
Показать файл Открыть проект

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

Метод Описание
ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void

Applies the constraint to the axes.

YPixelWorldLength ( double p ) : System

Constructor, which defines the world pixel length only. Both x-axes will be moved by equal amounts in order to force this constraint.

YPixelWorldLength ( double p, PlotSurface2D holdFixedX ) : System

Constructor, which defines the world pixel length together with the x-axis that should be held constant when forcing this constraint [the other x-axis only will be moved].

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

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

Applies the constraint to the axes.
public ApplyConstraint ( PhysicalAxis pXAxis1, PhysicalAxis pYAxis1, PhysicalAxis pXAxis2, PhysicalAxis pYAxis2 ) : void
pXAxis1 PhysicalAxis The bottom x-axis.
pYAxis1 PhysicalAxis The left y-axis.
pXAxis2 PhysicalAxis The top x-axis.
pYAxis2 PhysicalAxis The right y-axis.
Результат void

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

Constructor, which defines the world pixel length only. Both x-axes will be moved by equal amounts in order to force this constraint.
public YPixelWorldLength ( double p ) : System
p double The world pixel length
Результат System

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

Constructor, which defines the world pixel length together with the x-axis that should be held constant when forcing this constraint [the other x-axis only will be moved].
public YPixelWorldLength ( double p, PlotSurface2D holdFixedX ) : System
p double The world pixel length
holdFixedX PlotSurface2D The position of this x-axis will be held constant. The other x-axis will be moved in order to force the constraint.
Результат System