Header
And More


org.jfree.data.contour
Class NonGridContourDataset

java.lang.Object
  extended by org.jfree.data.general.AbstractDataset
      extended by org.jfree.data.general.AbstractSeriesDataset
          extended by org.jfree.data.xy.AbstractXYDataset
              extended by org.jfree.data.xy.AbstractXYZDataset
                  extended by org.jfree.data.contour.DefaultContourDataset
                      extended by org.jfree.data.contour.NonGridContourDataset
All Implemented Interfaces:
java.io.ObjectInputValidation, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, ContourDataset, Dataset, SeriesChangeListener, SeriesDataset, XYDataset, XYZDataset

Deprecated. This class is no longer supported (as of version 1.0.4). If you are creating contour plots, please try to use XYPlot and XYBlockRenderer.

public class NonGridContourDataset
extends DefaultContourDataset

A convenience class that extends the DefaultContourDataset to accommodate non-grid data.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jfree.data.contour.DefaultContourDataset
seriesKey, xIndex, xValues, yValues, zValues
 
Constructor Summary
NonGridContourDataset()
          Deprecated. Default constructor.
NonGridContourDataset(java.lang.String seriesName, java.lang.Object[] xData, java.lang.Object[] yData, java.lang.Object[] zData)
          Deprecated. Constructor for NonGridContourDataset.
NonGridContourDataset(java.lang.String seriesName, java.lang.Object[] xData, java.lang.Object[] yData, java.lang.Object[] zData, int numX, int numY, int power)
          Deprecated. Constructor for NonGridContourDataset.
 
Method Summary
protected  void buildGrid(int numX, int numY, int power)
          Deprecated. Builds a regular grid.
protected  double distance(double xDataPt, double yDataPt, double xGrdPt, double yGrdPt)
          Deprecated. Calculates the distance between two points.
 
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, hasListener, notifyListeners, removeChangeListener, setGroup, 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.xy.XYZDataset
getZValue
 
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getXValue, getYValue
 
Methods inherited from interface org.jfree.data.general.SeriesDataset
indexOf
 
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroup
 

Constructor Detail

NonGridContourDataset

public NonGridContourDataset()
Deprecated. 
Default constructor.


NonGridContourDataset

public NonGridContourDataset(java.lang.String seriesName,
                             java.lang.Object[] xData,
                             java.lang.Object[] yData,
                             java.lang.Object[] zData)
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(java.lang.String seriesName,
                             java.lang.Object[] xData,
                             java.lang.Object[] yData,
                             java.lang.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-axis
numY - number grid cells in along the y-axis
power - exponent for inverse distance weighting
Method Detail

buildGrid

protected void buildGrid(int numX,
                         int numY,
                         int power)
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-axis
numY - number grid points in along the y-axis
power - exponent for inverse distance weighting

distance

protected double distance(double xDataPt,
                          double yDataPt,
                          double xGrdPt,
                          double yGrdPt)
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.

Footer
And More


Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.