Inheritance diagram for NPlot::LogAxis:
Public Member Functions | |
override object | Clone () |
Deep Copy of the LogAxis. | |
LogAxis () | |
Default constructor. | |
LogAxis (Axis a) | |
Copy Constructor. | |
LogAxis (double worldMin, double worldMax) | |
Constructor. | |
override PointF | WorldToPhysical (double coord, PointF physicalMin, PointF physicalMax, bool clip) |
World to physical coordinate transform. | |
override double | PhysicalToWorld (PointF p, PointF physicalMin, PointF physicalMax, bool clip) |
Return the world coordinate of the projection of the point p onto the axis. | |
Protected Member Functions | |
void | DoClone (LogAxis b, LogAxis a) |
Helper method for Clone (actual implementation). | |
override void | DrawTicks (Graphics g, Point physicalMin, Point physicalMax, out object labelOffset, out object boundingBox) |
Draw the ticks. | |
Properties | |
double | LargeTickStep |
The step between large ticks, expressed in decades for the Log scale. | |
double | LargeTickValue |
Position of one of the large ticks [other positions will be calculated relative to this one]. | |
int | NumberSmallTicks |
The number of small ticks between large ticks. | |
object | numberSmallTicks_ |
double | largeTickValue_ = double.NaN |
double | largeTickStep_ = double.NaN |
override double | WorldMin |
The minimum world extent of the axis. | |
override double | WorldMax |
The maximum world extent of the axis. | |
override bool | IsLinear |
Get whether or not this axis is linear. | |
Private Member Functions | |
void | Init () |
Helper function for constructors. | |
internal override void | WorldTickPositions_SecondPass (Point physicalMin, Point physicalMax, ArrayList largeTickPositions, ref ArrayList smallTickPositions) |
Determines the positions, in world coordinates, of the small ticks if they have not already been generated. | |
void | CalcGrids (double dLenAxis, int nNumDivisions, ref double dDivisionInterval) |
internal override void | WorldTickPositions_FirstPass (Point physicalMin, Point physicalMax, out ArrayList largeTickPositions, out ArrayList smallTickPositions) |
Determines the positions, in world coordinates, of the log spaced large ticks. | |
double | DetermineTickSpacing () |
Determines the tick spacing. | |
int | DetermineNumberSmallTicks (double bigTickDist) |
Determines the number of small ticks between two large ticks. | |
Static Private Attributes | |
static double | m_d5Log = -Math.Log10(0.5) |
static double | m_d5RegionPos = Math.Abs(m_d5Log + ((1 - m_d5Log) / 2)) |
static double | m_d5RegionNeg = Math.Abs(m_d5Log / 2) |
Definition at line 62 of file LogAxis.cs.
|
Default constructor.
Definition at line 99 of file LogAxis.cs. Referenced by Clone(). |
|
Copy Constructor.
Definition at line 110 of file LogAxis.cs. |
|
Constructor.
Definition at line 122 of file LogAxis.cs. |
|
Definition at line 318 of file LogAxis.cs. |
|
Deep Copy of the LogAxis.
Reimplemented from NPlot::Axis. Definition at line 69 of file LogAxis.cs. References LogAxis(). |
|
Determines the number of small ticks between two large ticks.
Definition at line 470 of file LogAxis.cs. |
|
Determines the tick spacing.
Definition at line 423 of file LogAxis.cs. |
|
Helper method for Clone (actual implementation).
Definition at line 86 of file LogAxis.cs. References largeTickStep_, largeTickValue_, and numberSmallTicks_. |
|
Draw the ticks.
Reimplemented from NPlot::Axis. Definition at line 145 of file LogAxis.cs. |
|
Helper function for constructors. Do initialization here so that Clear() method is handled properly Reimplemented from NPlot::Axis. Definition at line 129 of file LogAxis.cs. |
|
Return the world coordinate of the projection of the point p onto the axis.
Reimplemented from NPlot::Axis. Definition at line 599 of file LogAxis.cs. |
|
Determines the positions, in world coordinates, of the log spaced large ticks.
Reimplemented from NPlot::Axis. Definition at line 349 of file LogAxis.cs. |
|
Determines the positions, in world coordinates, of the small ticks if they have not already been generated.
Reimplemented from NPlot::Axis. Definition at line 213 of file LogAxis.cs. |
|
World to physical coordinate transform.
Reimplemented from NPlot::Axis. Definition at line 556 of file LogAxis.cs. |
|
Definition at line 314 of file LogAxis.cs. |
|
Definition at line 316 of file LogAxis.cs. |
|
Definition at line 315 of file LogAxis.cs. |
|
Get whether or not this axis is linear. It is not. Reimplemented from NPlot::Axis. Definition at line 670 of file LogAxis.cs. |
|
The step between large ticks, expressed in decades for the Log scale.
Definition at line 502 of file LogAxis.cs. |
|
Definition at line 545 of file LogAxis.cs. Referenced by DoClone(). |
|
Position of one of the large ticks [other positions will be calculated relative to this one].
Definition at line 518 of file LogAxis.cs. |
|
Definition at line 544 of file LogAxis.cs. Referenced by DoClone(). |
|
The number of small ticks between large ticks.
Definition at line 534 of file LogAxis.cs. |
|
Definition at line 543 of file LogAxis.cs. Referenced by DoClone(). |
|
The maximum world extent of the axis. Must be greater than zero. Reimplemented from NPlot::Axis. Definition at line 648 of file LogAxis.cs. |
|
The minimum world extent of the axis. Must be greater than zero. Reimplemented from NPlot::Axis. Definition at line 625 of file LogAxis.cs. |