ElVis Java Interface

sv.graph
Class Contour

java.lang.Object
  extended bysv.graph.Fx
      extended bysv.graph.Contour
All Implemented Interfaces:
java.io.Serializable

public class Contour
extends Fx

The Contour graph class contains all the elements of a graph. A contour graph contains contour data, plot area, axes, legend, and textual labels. The data to be contoured is defined in a two-dimensional array. Each of these data points is called a posting. The list of contour values are specified in an array. A contour is calculated and drawn for each contour value. The contours are color-coded. The numerical value of each contour will be drawn in the legend. The axes are labeled based on the values in the axis arrays. The array of X axis coordinates should have the same number of values as the first dimension of the array of postings. The array of Y axis coordinates should have the same number of values as the second dimension.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class sv.graph.Fx
ALGEBRAIC, AUTOMATIC, LINEAR, LOGARITHMIC, SCIENTIFIC, shot, units
 
Constructor Summary
Contour(java.lang.String graphName)
          Create an empty contour plot.
Contour(java.lang.String graphName, double[][] postings, double[] xCoordinates, double[] yCoordinates, double[] contourValues)
          Create a contour plot.
 
Methods inherited from class sv.graph.Fx
addDataset, addLabel, addLegendTitle, findClosestDataset, getLegendTitle, getTitleLabel, getXLabel, getXNumberStyle, getXRange, getYLabel, getYNumberStyle, getYRange, isLegend, isShowLines, isShowMarkers, isXGridlines, isYGridlines, setLegendTitle, setLocation, setPlotOrigin, setPlotSize, setScalable, setTitleLabel, setTitleLabel, setXLabel, setXLabel, setXNumberStyle, setXRange, setYLabel, setYLabel, setYLabel, setYNumberStyle, setYRange, showGridlines, showLegend, showLines, showMarkers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contour

public Contour(java.lang.String graphName)
Create an empty contour plot.

Parameters:
graphName - - The name of the contour plot.

Contour

public Contour(java.lang.String graphName,
               double[][] postings,
               double[] xCoordinates,
               double[] yCoordinates,
               double[] contourValues)
Create a contour plot.

Parameters:
graphName - - The name of the contour plot.
postings - - Array of postings to be contoured.
xCoordinates - - Array of X axis coordinates corresponding to the location of X postings.
yCoordinates - - Array of Y axis coordinates corresponding to the location of Y postings.
contourValues - - Array of contour values. Contours will be calculated and drawn for these values.

ElVis Java Interface