Documentation of 'sgtplot.contour.Contour' Java class
Contour
sgtplot.contour

Class Contour

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.Enumeration elements()
      Return the Enumeration of a Vector containing the ContourLine objects.
      void generateContourLabels(org.freehep.graphics2d.VectorGraphics g)
      Given the computed ContourLines and the ContourLineAttribute generate the contour labels.
      void generateContourLines()
      Given the current ContourLevels, mask, and SGTGrid generate the ContourLines.
      ContourLevels getContourLevels()
      Get a reference to the ContourLevels object.
      SGTGrid getMask()
      Get the mask.
      void propertyChange(java.beans.PropertyChangeEvent event)
      Reponds to changes in the ContourLevels object.
      void setMask(SGTGrid mask)
      Set a SGTGrid object to be used to mask the data grid.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Contour

        public Contour(CartesianGraph cg,
                       SGTGrid grid,
                       Range2D range)
        Construct a Contour object using a range to define the ContourLevels.
      • Contour

        public Contour(CartesianGraph cg,
                       SGTGrid grid,
                       double[] levels)
        Construct a Contour object using an array of levels to define the ContourLevels.
    • Method Detail

      • getContourLevels

        public ContourLevels getContourLevels()
        Get a reference to the ContourLevels object.
      • setMask

        public void setMask(SGTGrid mask)
        Set a SGTGrid object to be used to mask the data grid. The Z values are used to determine the masking, values of NaN and non-zero are set as MISSING.
      • getMask

        public SGTGrid getMask()
        Get the mask.
      • elements

        public java.util.Enumeration elements()
        Return the Enumeration of a Vector containing the ContourLine objects.
      • propertyChange

        public void propertyChange(java.beans.PropertyChangeEvent event)
        Reponds to changes in the ContourLevels object.
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
      • generateContourLines

        public void generateContourLines()
        Given the current ContourLevels, mask, and SGTGrid generate the ContourLines.
      • generateContourLabels

        public void generateContourLabels(org.freehep.graphics2d.VectorGraphics g)
        Given the computed ContourLines and the ContourLineAttribute generate the contour labels. Must be only invoked after generateConourLines().

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.