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

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

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

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

Applies the constraint to the axes.

XPixelWorldLength ( double p ) : System

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

XPixelWorldLength ( double p, PlotSurface2D holdFixedY ) : System

Constructor, which defines the world pixel length together with the y-axis that should be held constant when forcing this constraint [the other y-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

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

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

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

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