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, pixelDataFields inherited from class org.opensourcephysics.display.MeasuredImage
image, minmax, visible, xmax, xmin, ymax, yminFields inherited from interface org.opensourcephysics.display2d.Plot2D
CONTOUR_PLOT, GRID_PLOT, INTERPOLATED_PLOT, SURFACE_PLOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetAutoscaleZ(boolean isAutoscale, double floor, double ceil) Sets the autoscale flag and the floor and ceiling values for the colors.voidsetTopRow(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, yToIndexMethods inherited from class org.opensourcephysics.display.MeasuredImage
getImage, getXMax, getXMin, getYMax, getYMin, setImage, setMinMax, setVisible, setXMax, setXMin, setYMax, setYMinMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensourcephysics.display.Drawable
isInteractiveMethods inherited from interface org.opensourcephysics.display2d.ICarpet
setAutoscaleZ, setGridDataMethods inherited from interface org.opensourcephysics.display.Measurable
getXMax, getXMin, getYMax, getYMinMethods 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:
setAutoscaleZin interfacePlot2D- Overrides:
setAutoscaleZin classComplexInterpolatedPlot- Parameters:
isAutoscale-floor-ceil-
-