Save This Page
Home » jcommon-1.0.13 » org.jfree » data » contour » [javadoc | source]
org.jfree.data.contour
public class: NonGridContourDataset [javadoc | source]
java.lang.Object
   org.jfree.data.general.AbstractDataset
      org.jfree.data.general.AbstractSeriesDataset
         org.jfree.data.xy.AbstractXYDataset
            org.jfree.data.xy.AbstractXYZDataset
               org.jfree.data.contour.DefaultContourDataset
                  org.jfree.data.contour.NonGridContourDataset

All Implemented Interfaces:
    ContourDataset, XYZDataset, XYDataset, SeriesDataset, Serializable, SeriesChangeListener, Cloneable, Dataset, ObjectInputValidation

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 .

A convenience class that extends the DefaultContourDataset to accommodate non-grid data.
Field Summary
static final  int DEFAULT_NUM_X    Default number of x values. 
static final  int DEFAULT_NUM_Y    Default number of y values. 
static final  int DEFAULT_POWER    Default power. 
Fields inherited from org.jfree.data.contour.DefaultContourDataset:
seriesKey,  xValues,  yValues,  zValues,  xIndex,  dateAxis
Constructor:
 public NonGridContourDataset() 
 public NonGridContourDataset(String seriesName,
    Object[] xData,
    Object[] yData,
    Object[] zData) 
    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.
 public NonGridContourDataset(String seriesName,
    Object[] xData,
    Object[] yData,
    Object[] zData,
    int numX,
    int numY,
    int power) 
    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 from org.jfree.data.contour.NonGridContourDataset Summary:
buildGrid,   distance
Methods from 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 from org.jfree.data.xy.AbstractXYZDataset:
getZValue
Methods from org.jfree.data.xy.AbstractXYDataset:
getDomainOrder,   getXValue,   getYValue
Methods from org.jfree.data.general.AbstractSeriesDataset:
getSeriesCount,   getSeriesKey,   indexOf,   seriesChanged
Methods from org.jfree.data.general.AbstractDataset:
addChangeListener,   clone,   fireDatasetChanged,   getGroup,   hasListener,   notifyListeners,   removeChangeListener,   setGroup,   validateObject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.data.contour.NonGridContourDataset Detail:
 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).
 protected double distance(double xDataPt,
    double yDataPt,
    double xGrdPt,
    double yGrdPt) 
      Deprecated!
    Calculates the distance between two points.