org.opensourcephysics.display2d
Class ComplexCarpet

java.lang.Object
  extended by org.opensourcephysics.display.MeasuredImage
      extended by org.opensourcephysics.display2d.ComplexInterpolatedPlot
          extended by org.opensourcephysics.display2d.ComplexCarpet
All Implemented Interfaces:
Drawable, Measurable, Plot2D

public class ComplexCarpet
extends ComplexInterpolatedPlot


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
ComplexCarpet(GridData griddata)
          Constructor ComplexCarpet
 
Method Summary
 void clearData()
           
 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, 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.display2d.Plot2D
setVisible
 
Methods inherited from interface org.opensourcephysics.display.Measurable
getXMax, getXMin, getYMax, getYMin
 

Constructor Detail

ComplexCarpet

public ComplexCarpet(GridData griddata)
Constructor ComplexCarpet

Parameters:
griddata -
Method Detail

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 interface Plot2D
Overrides:
setAutoscaleZ in class ComplexInterpolatedPlot
Parameters:
isAutoscale -
floor -
ceil -