public class ComplexContourPlot extends ComplexInterpolatedPlot
image, visible, xmax, xmin, ymax, ymin
CONTOUR_PLOT, GRID_PLOT, INTERPOLATED_PLOT, SURFACE_PLOT
Constructor and Description |
---|
ComplexContourPlot()
Constructs the ComplexContourPlot using the given 2d datset.
|
ComplexContourPlot(GridData griddata)
Constructs the ComplexContourPlot using the given 2d datset.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g)
Draws the image and the grid.
|
void |
setAutoscaleZ(boolean isAutoscale,
double floor,
double ceil)
Sets the autoscale flag and the floor and ceiling values for the colors.
|
void |
setColorPalette(java.awt.Color[] colors)
Setting the color palette is not supported.
|
void |
setFloorCeilColor(java.awt.Color floorColor,
java.awt.Color ceilColor)
Sets the floor and ceiling colors.
|
void |
setGridData(GridData griddata)
Sets the data storage to the given value.
|
void |
setGridLineColor(java.awt.Color color)
Sets the contour line color.
|
void |
setIndexes(int[] indexes)
Sets the indexes for the data component that will be plotted.
|
void |
setPaletteType(int type)
Setting the palette is not supported.
|
void |
setShowGridLines(boolean show)
Shows the contour lines.
|
void |
setVisible(boolean isVisible)
Sets the visibility of the contour plot.
|
javax.swing.JFrame |
showLegend()
Shows how values map to colors.
|
void |
update()
Updates the buffered image using the data array.
|
checkImage, getCeiling, getFloor, getGridData, getLoader, indexToX, indexToY, isAutoscaleZ, isMeasured, recolorImage, setAll, setAll, setAutoscaleZ, setExpandedZ, xToIndex, yToIndex
getXMax, getXMin, getYMax, getYMin, setImage, setMinMax, setXMax, setXMin, setYMax, setYMin
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getXMax, getXMin, getYMax, getYMin
public ComplexContourPlot()
public ComplexContourPlot(GridData griddata)
griddata
- GridDatapublic void setAutoscaleZ(boolean isAutoscale, double floor, double ceil)
setAutoscaleZ
in interface Plot2D
setAutoscaleZ
in class ComplexInterpolatedPlot
isAutoscale
- floor
- ceil
- public void update()
update
in interface Plot2D
update
in class ComplexInterpolatedPlot
public void setGridData(GridData griddata)
setGridData
in interface Plot2D
setGridData
in class ComplexInterpolatedPlot
griddata
- public void setIndexes(int[] indexes)
setIndexes
in interface Plot2D
setIndexes
in class ComplexInterpolatedPlot
indexes
- the sample-componentpublic void setVisible(boolean isVisible)
setVisible
in interface Plot2D
setVisible
in class MeasuredImage
isVisible
- public javax.swing.JFrame showLegend()
showLegend
in interface Plot2D
showLegend
in class ComplexInterpolatedPlot
public void setShowGridLines(boolean show)
setShowGridLines
in interface Plot2D
setShowGridLines
in class ComplexInterpolatedPlot
show
- public void setColorPalette(java.awt.Color[] colors)
setColorPalette
in interface Plot2D
setColorPalette
in class ComplexInterpolatedPlot
colors
- public void setPaletteType(int type)
setPaletteType
in interface Plot2D
setPaletteType
in class ComplexInterpolatedPlot
type
- public void setFloorCeilColor(java.awt.Color floorColor, java.awt.Color ceilColor)
setFloorCeilColor
in interface Plot2D
setFloorCeilColor
in class ComplexInterpolatedPlot
floorColor
- ceilColor
- public void setGridLineColor(java.awt.Color color)
setGridLineColor
in interface Plot2D
setGridLineColor
in class ComplexInterpolatedPlot
color
- public void draw(DrawingPanel panel, java.awt.Graphics g)
draw
in interface Drawable
draw
in class ComplexInterpolatedPlot
panel
- g
-