Package org.jfree.data.contour
Class NonGridContourDataset
- All Implemented Interfaces:
ObjectInputValidation
,Serializable
,Cloneable
,EventListener
,ContourDataset
,Dataset
,SeriesChangeListener
,SeriesDataset
,XYDataset
,XYZDataset
Deprecated.
A convenience class that extends the
DefaultContourDataset
to
accommodate non-grid data.- See Also:
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Default constructor.NonGridContourDataset
(String seriesName, Object[] xData, Object[] yData, Object[] zData) Deprecated.Constructor for NonGridContourDataset.NonGridContourDataset
(String seriesName, Object[] xData, Object[] yData, Object[] zData, int numX, int numY, int power) Deprecated.Constructor for NonGridContourDataset. -
Method Summary
Methods inherited from class org.jfree.data.contour.DefaultContourDataset
formObjectArray, formObjectArray, getItemCount, getMaxZValue, getMinZValue, getMinZValue, getSeriesCount, getSeriesKey, getX, getXIndices, getXValue, getXValues, getY, getYValues, getZ, getZValueRange, getZValues, indexX, indexX, indexY, indexZ, initialize, isDateAxis, setSeriesKeys
Methods inherited from class org.jfree.data.xy.AbstractXYZDataset
getZValue
Methods inherited from class org.jfree.data.xy.AbstractXYDataset
getDomainOrder, getXValue, getYValue
Methods inherited from class org.jfree.data.general.AbstractSeriesDataset
indexOf, seriesChanged
Methods inherited from class org.jfree.data.general.AbstractDataset
addChangeListener, clone, fireDatasetChanged, getGroup, getNotify, hasListener, notifyListeners, removeChangeListener, setGroup, setNotify, validateObject
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
Methods inherited from interface org.jfree.data.general.SeriesDataset
indexOf
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getXValue, getYValue
Methods inherited from interface org.jfree.data.xy.XYZDataset
getZValue
-
Constructor Details
-
NonGridContourDataset
public NonGridContourDataset()Deprecated.Default constructor. -
NonGridContourDataset
Deprecated.Constructor for NonGridContourDataset. Uses default values for grid dimensions and weighting.- Parameters:
seriesName
- the series name.xData
- the x values.yData
- the y values.zData
- the z values.
-
NonGridContourDataset
public NonGridContourDataset(String seriesName, Object[] xData, Object[] yData, Object[] zData, int numX, int numY, int power) Deprecated.Constructor for NonGridContourDataset.- Parameters:
seriesName
- the series name.xData
- the x values.yData
- the y values.zData
- the z values.numX
- number grid cells in along the x-axisnumY
- number grid cells in along the y-axispower
- exponent for inverse distance weighting
-
-
Method Details
-
buildGrid
Deprecated.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-axisnumY
- number grid points in along the y-axispower
- exponent for inverse distance weighting
-
distance
Deprecated.Calculates the distance between two points.- Parameters:
xDataPt
- the x coordinate.yDataPt
- the y coordinate.xGrdPt
- the x grid coordinate.yGrdPt
- the y grid coordinate.- Returns:
- The distance between two points.
-
XYPlot
andXYBlockRenderer
.