Package org.opensourcephysics.display2d
Class ComplexCarpet
java.lang.Object
org.opensourcephysics.display.MeasuredImage
org.opensourcephysics.display2d.ComplexInterpolatedPlot
org.opensourcephysics.display2d.ComplexCarpet
- All Implemented Interfaces:
Drawable
,Measurable
,ICarpet
,Plot2D
-
Field Summary
Fields inherited from class org.opensourcephysics.display2d.ComplexInterpolatedPlot
imageType, pixelData
Fields inherited from class org.opensourcephysics.display.MeasuredImage
image, minmax, visible, xmax, xmin, ymax, ymin
Fields inherited from interface org.opensourcephysics.display2d.Plot2D
CONTOUR_PLOT, GRID_PLOT, INTERPOLATED_PLOT, SURFACE_PLOT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
setAutoscaleZ
(boolean isAutoscale, double floor, double ceil) Sets the autoscale flag and the floor and ceiling values for the colors.void
setTopRow
(double[][] line) Methods inherited from class org.opensourcephysics.display2d.ComplexInterpolatedPlot
checkImage, draw, getCeiling, getFloor, getGridData, getLoader, indexToX, indexToY, isAutoscaleZ, isMeasured, isSymmetricZ, recolorImage, setAll, setAll, setAutoscaleZ, setColorPalette, setExpandedZ, setFloorCeilColor, setGridData, setGridLineColor, setIndexes, setPaletteType, setShowGridLines, setSymmetricZ, showLegend, update, writeToRaster, xToIndex, yToIndex
Methods inherited from class org.opensourcephysics.display.MeasuredImage
getImage, getXMax, getXMin, getYMax, getYMin, setImage, setMinMax, setVisible, 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.Drawable
isInteractive
Methods inherited from interface org.opensourcephysics.display2d.ICarpet
setAutoscaleZ, setGridData
Methods inherited from interface org.opensourcephysics.display.Measurable
getXMax, getXMin, getYMax, getYMin
Methods inherited from interface org.opensourcephysics.display2d.Plot2D
setVisible
-
Constructor Details
-
ComplexCarpet
Constructor ComplexCarpet- Parameters:
griddata
-
-
-
Method Details
-
clearData
public void clearData() -
setTopRow
public void setTopRow(double[][] line) -
setAutoscaleZ
public void setAutoscaleZ(boolean isAutoscale, double floor, double ceil) Sets the autoscale flag and the floor and ceiling values for the colors. If autoscaling is true, then the min and max values of z span the colors. If autoscaling is false, then floor and ceiling values limit the colors. Values below min map to the first color; values above max map to the last color.- Specified by:
setAutoscaleZ
in interfacePlot2D
- Overrides:
setAutoscaleZ
in classComplexInterpolatedPlot
- Parameters:
isAutoscale
-floor
-ceil
-
-