Inheritance diagram for NPlot::ImagePlot:
Public Member Functions | |
ImagePlot (double[,] data, double xStart, double xStep, double yStart, double yStep) | |
Constructor. | |
ImagePlot (double[,] data) | |
Constructor. | |
void | Draw (Graphics g, PhysicalAxis xAxis, PhysicalAxis yAxis) |
Draw on to the supplied graphics surface against the supplied axes. | |
void | DrawInLegend (Graphics g, Rectangle startEnd) |
Draws a representation of this plot in the legend. | |
Axis | SuggestXAxis () |
Returns an x-axis that is suitable for drawing this plot. | |
Axis | SuggestYAxis () |
Returns a y-axis that is suitable for drawing this plot. | |
void | WriteData (System.Text.StringBuilder sb, RectangleD region, bool onlyInRegion) |
Write data associated with the plot as text. | |
Properties | |
IGradient | Gradient |
The gradient that specifies the mapping between value and color. | |
IGradient | gradient_ |
string | Label |
A label to associate with the plot - used in the legend. | |
string | label_ = "" |
bool | Center |
If true, pixels are centered on their respective coordinates. | |
bool | center_ = true |
bool | ShowInLegend |
Whether or not to include an entry for this plot in the legend if it exists. | |
bool | showInLegend_ = true |
Private Member Functions | |
void | calculateMinMax () |
Calculates the minimum and maximum values of the data array. | |
Private Attributes | |
double[,] | data_ |
double | xStart_ = 0.0 |
double | xStep_ = 1.0 |
double | yStart_ = 0.0 |
double | yStep_ = 1.0 |
double | dataMin_ |
double | dataMax_ |
Definition at line 62 of file ImagePlot.cs.
|
Constructor.
Definition at line 106 of file ImagePlot.cs. |
|
Constructor.
Definition at line 129 of file ImagePlot.cs. |
|
Calculates the minimum and maximum values of the data array.
Definition at line 75 of file ImagePlot.cs. |
|
Draw on to the supplied graphics surface against the supplied axes.
Implements NPlot::IDrawable. Definition at line 143 of file ImagePlot.cs. References NPlot::PhysicalAxis::Axis, NPlot::PhysicalAxis::PhysicalMax, NPlot::PhysicalAxis::PhysicalMin, NPlot::Axis::WorldMax, NPlot::Axis::WorldMin, and NPlot::PhysicalAxis::WorldToPhysical(). |
|
Draws a representation of this plot in the legend.
Implements NPlot::IPlot. Definition at line 235 of file ImagePlot.cs. |
|
Returns an x-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 262 of file ImagePlot.cs. |
|
Returns a y-axis that is suitable for drawing this plot.
Implements NPlot::IPlot. Definition at line 277 of file ImagePlot.cs. |
|
Write data associated with the plot as text.
Implements NPlot::IPlot. Definition at line 330 of file ImagePlot.cs. |
|
Definition at line 64 of file ImagePlot.cs. Referenced by calculateMinMax(). |
|
Definition at line 70 of file ImagePlot.cs. Referenced by calculateMinMax(). |
|
Definition at line 69 of file ImagePlot.cs. Referenced by calculateMinMax(). |
|
Definition at line 65 of file ImagePlot.cs. |
|
Definition at line 66 of file ImagePlot.cs. |
|
Definition at line 67 of file ImagePlot.cs. |
|
Definition at line 68 of file ImagePlot.cs. |
|
If true, pixels are centered on their respective coordinates. If false, they are drawn between their coordinates and the coordinates of the the next point in each direction. Definition at line 293 of file ImagePlot.cs. |
|
Definition at line 303 of file ImagePlot.cs. |
|
The gradient that specifies the mapping between value and color. memory allocation in get may be inefficient. Definition at line 212 of file ImagePlot.cs. |
|
Definition at line 227 of file ImagePlot.cs. |
|
A label to associate with the plot - used in the legend.
Implements NPlot::IPlot. Definition at line 245 of file ImagePlot.cs. |
|
Definition at line 255 of file ImagePlot.cs. |
|
Whether or not to include an entry for this plot in the legend if it exists.
Implements NPlot::IPlot. Definition at line 310 of file ImagePlot.cs. |
|
Definition at line 320 of file ImagePlot.cs. |