|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.display.MeasuredImage
org.opensourcephysics.display2d.ComplexInterpolatedPlot
org.opensourcephysics.display2d.ComplexContourPlot
public class ComplexContourPlot
ComplexInterpolatedPlot creates an image of a scalar field by inerpolating every image pixel to an untabulated point (x,y) in the 2d data. This interpolation smooths the resulting image.
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.display.MeasuredImage |
|---|
image, visible, xmax, xmin, ymax, ymin |
| Fields inherited from interface org.opensourcephysics.display2d.Plot2D |
|---|
CONTOUR_PLOT, GRID_PLOT, INTERPOLATED_PLOT, SURFACE_PLOT |
| Constructor Summary | |
|---|---|
ComplexContourPlot()
Constructs the ComplexContourPlot using the given 2d datset. |
|
ComplexContourPlot(GridData griddata)
Constructs the ComplexContourPlot using the given 2d datset. |
|
| Method Summary | |
|---|---|
void |
draw(DrawingPanel panel,
java.awt.Graphics g)
Draws the image and the grid. |
ContourPlot |
getContour()
|
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. |
| Methods inherited from class org.opensourcephysics.display2d.ComplexInterpolatedPlot |
|---|
checkImage, getCeiling, getFloor, getGridData, getLoader, indexToX, indexToY, isAutoscaleZ, isMeasured, recolorImage, setAll, setAll, setAutoscaleZ, setExpandedZ, xToIndex, yToIndex |
| Methods inherited from class org.opensourcephysics.display.MeasuredImage |
|---|
getXMax, getXMin, getYMax, getYMin, setImage, setMinMax, setXMax, setXMin, setYMax, setYMin |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opensourcephysics.display.Measurable |
|---|
getXMax, getXMin, getYMax, getYMin |
| Constructor Detail |
|---|
public ComplexContourPlot()
public ComplexContourPlot(GridData griddata)
griddata - GridData| Method Detail |
|---|
public ContourPlot getContour()
public void setAutoscaleZ(boolean isAutoscale,
double floor,
double ceil)
setAutoscaleZ in interface Plot2DsetAutoscaleZ in class ComplexInterpolatedPlotisAutoscale - floor - ceil - public void update()
update in interface Plot2Dupdate in class ComplexInterpolatedPlotpublic void setGridData(GridData griddata)
setGridData in interface Plot2DsetGridData in class ComplexInterpolatedPlotgriddata - public void setIndexes(int[] indexes)
setIndexes in interface Plot2DsetIndexes in class ComplexInterpolatedPlotindexes - the sample-componentpublic void setVisible(boolean isVisible)
setVisible in interface Plot2DsetVisible in class MeasuredImageisVisible - public javax.swing.JFrame showLegend()
showLegend in interface Plot2DshowLegend in class ComplexInterpolatedPlotpublic void setShowGridLines(boolean show)
setShowGridLines in interface Plot2DsetShowGridLines in class ComplexInterpolatedPlotshow - public void setColorPalette(java.awt.Color[] colors)
setColorPalette in interface Plot2DsetColorPalette in class ComplexInterpolatedPlotcolors - public void setPaletteType(int type)
setPaletteType in interface Plot2DsetPaletteType in class ComplexInterpolatedPlottype -
public void setFloorCeilColor(java.awt.Color floorColor,
java.awt.Color ceilColor)
setFloorCeilColor in interface Plot2DsetFloorCeilColor in class ComplexInterpolatedPlotfloorColor - ceilColor - public void setGridLineColor(java.awt.Color color)
setGridLineColor in interface Plot2DsetGridLineColor in class ComplexInterpolatedPlotcolor -
public void draw(DrawingPanel panel,
java.awt.Graphics g)
draw in interface Drawabledraw in class ComplexInterpolatedPlotpanel - g -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||