org.omegahat.Graphics.Plots
Class BoxWhiskers

java.lang.Object
  |
  +--org.omegahat.Graphics.Primitives.GraphicalObject
        |
        +--org.omegahat.Graphics.Primitives.RGO
              |
              +--org.omegahat.Graphics.Primitives.GraphicalContainer
                    |
                    +--org.omegahat.Graphics.Plots.BoxWhiskers
All Implemented Interfaces:
Addable, Copyable, GraphicalComponentInt, GraphicalContainerInt, MathOperable, ScaledComponentInt, SimpleGraphicalContainerInt, Subsettable, Tree

public class BoxWhiskers
extends GraphicalContainer

the graphical object that represents one box-and-whiskers visual sumamry of a set of data.

These objects can be placed in a plot as a visual symbol, either in a conventional box plot, or as symbols in arbitrary graphical displays.


Field Summary
protected  double min
           
protected  double range
           
protected  Scale s
           
protected  UnivariateSummary summary
           
 
Fields inherited from class org.omegahat.Graphics.Primitives.GraphicalContainer
allocator, children, origin, parent, scaleX, scaleY
 
Fields inherited from class org.omegahat.Graphics.Primitives.RGO
region
 
Fields inherited from class org.omegahat.Graphics.Primitives.GraphicalObject
ACTIVE, fontSize, lastDevice, lastHeightCM, lastRegion, lastWidthCM, parents, status, VISIBLE
 
Fields inherited from interface org.omegahat.Environment.DataStructures.MathOperable
DIVIDE, MINUS, MULTIPLY, PLUS
 
Constructor Summary
BoxWhiskers(UnivariateSummary summary)
           
 
Method Summary
 boolean make(UnivariateSummary summary)
           
 void reScale(Scale snew)
          rescale the object to snew in data units; the original scale was the min and max from the summary.
protected  double scale(double value)
           
 UnivariateSummary summary()
           
 
Methods inherited from class org.omegahat.Graphics.Primitives.GraphicalContainer
add, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addGraphicalObject, addValue, copy, copy, draw, drawChildren, get, getChild, getChildCount, getChildren, getDevice, getOrigin, getRegionAllocator, getXScale, getYScale, parent, parent, remove, removeGraphicalObject, removeGraphicalObject, setOrigin, setRegionAllocator, setXScale, setYScale, subset, subset, transform, transform
 
Methods inherited from class org.omegahat.Graphics.Primitives.RGO
center, centre, createRegionDescription, createRegionDescription, getRegion, height, height, setHJust, setRegion, setVJust, width, width, x, x, y, y
 
Methods inherited from class org.omegahat.Graphics.Primitives.GraphicalObject
cacheSize, getFontSize, getFontSize, getParameters, getParents, getStatus, isActive, isVisible, lastHeightCM, lastRegion, lastWidthCM, parents, setActive, setParameters, setParents, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omegahat.Graphics.Primitives.GraphicalComponentInt
getParameters, getRegion, isActive, isVisible, parents, setActive, setParameters, setRegion, setVisible
 

Field Detail

min

protected double min

range

protected double range

s

protected Scale s

summary

protected UnivariateSummary summary
Constructor Detail

BoxWhiskers

public BoxWhiskers(UnivariateSummary summary)
Method Detail

summary

public UnivariateSummary summary()

scale

protected double scale(double value)

reScale

public void reScale(Scale snew)
rescale the object to snew in data units; the original scale was the min and max from the summary.

make

public boolean make(UnivariateSummary summary)