Méthode | Description | |
---|---|---|
Draw ( |
Draw on to the supplied graphics surface against the supplied axes. TODO: block positions may be off by a pixel or so. maybe. Re-think calculations |
|
DrawInLegend ( |
Draws a representation of this plot in the legend.
|
|
ImagePlot ( double data ) : System |
Constructor
|
|
ImagePlot ( double data, double xStart, double xStep, double yStart, double yStep ) : System |
Constructor no adapters for this yet - when we get some more 2d plotting functionality, then perhaps create some. |
|
SuggestXAxis ( ) : |
Returns an x-axis that is suitable for drawing this plot.
|
|
SuggestYAxis ( ) : |
Returns a y-axis that is suitable for drawing this plot.
|
|
WriteData ( System sb, |
Write data associated with the plot as text. TODO: not implemented. |
Méthode | Description | |
---|---|---|
calculateMinMax ( ) : void |
Calculates the minimum and maximum values of the data array.
|
public Draw ( |
||
g | The graphics surface on which to draw. | |
xAxis | The X-Axis to draw against. | |
yAxis | The Y-Axis to draw against. | |
Résultat | void |
public DrawInLegend ( |
||
g | The graphics surface on which to draw. | |
startEnd | A rectangle specifying the bounds of the area in the legend set aside for drawing. | |
Résultat | void |
public ImagePlot ( double data ) : System | ||
data | double | The 2D array to plot. |
Résultat | System |
public ImagePlot ( double data, double xStart, double xStep, double yStart, double yStep ) : System | ||
data | double | the 2D array to plot |
xStart | double | the world value corresponding to the 1st position in the x-direction |
xStep | double | the world step size between pixels in the x-direction. |
yStart | double | the world value corresponding to the 1st position in the y-direction |
yStep | double | the world step size between pixels in the y-direction. |
Résultat | System |
public WriteData ( System sb, |
||
sb | System | the string builder to write to. |
region | Only write out data in this region if onlyInRegion is true. | |
onlyInRegion | bool | If true, only data in region is written, else all data is written. |
Résultat | void |