| org.jfree.data.contour.DefaultContourDataset org.jfree.data.contour.NonGridContourDataset
Method Summary | |
protected void | buildGrid(int numX, int numY, int power) Builds a regular grid. | protected double | distance(double xDataPt, double yDataPt, double xGrdPt, double yGrdPt) Calculates the distance between two points.
Parameters: xDataPt - the x coordinate. Parameters: yDataPt - the y coordinate. Parameters: xGrdPt - the x grid coordinate. Parameters: yGrdPt - the y grid coordinate. |
DEFAULT_NUM_X | final static int DEFAULT_NUM_X(Code) | | Default number of x values.
|
DEFAULT_NUM_Y | final static int DEFAULT_NUM_Y(Code) | | Default number of y values.
|
DEFAULT_POWER | final static int DEFAULT_POWER(Code) | | Default power.
|
NonGridContourDataset | public NonGridContourDataset()(Code) | | Default constructor.
|
NonGridContourDataset | public NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData)(Code) | | Constructor for NonGridContourDataset. Uses default values for grid
dimensions and weighting.
Parameters: seriesName - the series name. Parameters: xData - the x values. Parameters: yData - the y values. Parameters: zData - the z values. |
NonGridContourDataset | public NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData, int numX, int numY, int power)(Code) | | Constructor for NonGridContourDataset.
Parameters: seriesName - the series name. Parameters: xData - the x values. Parameters: yData - the y values. Parameters: zData - the z values. Parameters: numX - number grid cells in along the x-axis Parameters: numY - number grid cells in along the y-axis Parameters: power - exponent for inverse distance weighting |
buildGrid | protected void buildGrid(int numX, int numY, int power)(Code) | | Builds a regular grid. Maps the non-grid data into the regular grid
using an inverse distance between grid and non-grid points. Weighting
of distance can be controlled by setting through the power parameter
that controls the exponent used on the distance weighting
(e.g., distance^power).
Parameters: numX - number grid points in along the x-axis Parameters: numY - number grid points in along the y-axis Parameters: power - exponent for inverse distance weighting |
distance | protected double distance(double xDataPt, double yDataPt, double xGrdPt, double yGrdPt)(Code) | | Calculates the distance between two points.
Parameters: xDataPt - the x coordinate. Parameters: yDataPt - the y coordinate. Parameters: xGrdPt - the x grid coordinate. Parameters: yGrdPt - the y grid coordinate. The distance between two points. |
Methods inherited from org.jfree.data.contour.DefaultContourDataset | public static Object[][] formObjectArray(double[][] data)(Code)(Java Doc) public static Object[] formObjectArray(double[] data)(Code)(Java Doc) public int getItemCount(int series)(Code)(Java Doc) public double getMaxZValue()(Code)(Java Doc) public double getMinZValue()(Code)(Java Doc) public double getMinZValue(double minX, double minY, double maxX, double maxY)(Code)(Java Doc) public int getSeriesCount()(Code)(Java Doc) public Comparable getSeriesKey(int series)(Code)(Java Doc) public Number getX(int series, int item)(Code)(Java Doc) public int[] getXIndices()(Code)(Java Doc) public Number getXValue(int item)(Code)(Java Doc) public Number[] getXValues()(Code)(Java Doc) public Number getY(int series, int item)(Code)(Java Doc) public Number[] getYValues()(Code)(Java Doc) public Number getZ(int series, int item)(Code)(Java Doc) public Range getZValueRange(Range x, Range y)(Code)(Java Doc) public Number[] getZValues()(Code)(Java Doc) public int[] indexX()(Code)(Java Doc) public int indexX(int k)(Code)(Java Doc) public int indexY(int k)(Code)(Java Doc) public int indexZ(int i, int j)(Code)(Java Doc) public void initialize(Object[] xData, Object[] yData, Object[] zData)(Code)(Java Doc) public boolean isDateAxis(int axisNumber)(Code)(Java Doc) public void setSeriesKeys(Comparable[] seriesKeys)(Code)(Java Doc)
|
|
|