public class BoxAndWhiskerPlot
extends org.jfree.chart.plot.Plot
implements nl.tudelft.simulation.event.EventListenerInterface
Modifier and Type | Field and Description |
---|---|
static short |
BORDER_SIZE
BORDER_SIZE refers to the width of the border on the panel
|
protected double |
confidenceInterval
the confidenceInterval
|
static Font |
FONT
FONT defines the font of the plot
|
protected NumberFormat |
formatter
formatter formats the text
|
static String |
PLOT_TYPE
PLOT_TYPE refers to the plot type
|
protected Tally[] |
tallies
target is the tally to represent
|
static Font |
TITLE_FONT
TITLE_FONT defines the font of the plot
|
Constructor and Description |
---|
BoxAndWhiskerPlot()
constructs a new BoxAndWhiskerPlot
|
Modifier and Type | Method and Description |
---|---|
void |
add(Tally tally)
adds a tally to the array of targets;
|
void |
draw(Graphics2D g2,
Rectangle2D rectangle,
org.jfree.chart.plot.PlotState plotState,
org.jfree.chart.plot.PlotRenderingInfo plotRenderingInfo) |
void |
draw(Graphics2D g2,
Rectangle2D rectangle,
Point2D point,
org.jfree.chart.plot.PlotState plotState,
org.jfree.chart.plot.PlotRenderingInfo plotRenderingInfo) |
double |
getConfidenceInterval()
Returns the confidence interval of the BoxAndWhiskerPlot
|
String |
getPlotType() |
void |
notify(nl.tudelft.simulation.event.EventInterface event) |
void |
setConfidenceInterval(double confidenceInterval)
sets the confidence interval of the plot.
|
addChangeListener, annotationChanged, axisChanged, clone, createAndAddEntity, datasetChanged, drawBackground, drawBackgroundImage, drawNoDataMessage, drawOutline, equals, fillBackground, fillBackground, fireChangeEvent, getBackgroundAlpha, getBackgroundImage, getBackgroundImageAlignment, getBackgroundImageAlpha, getBackgroundPaint, getDatasetGroup, getDrawingSupplier, getForegroundAlpha, getInsets, getLegendItems, getNoDataMessage, getNoDataMessageFont, getNoDataMessagePaint, getOutlinePaint, getOutlineStroke, getParent, getRectX, getRectY, getRootPlot, handleClick, isNotify, isOutlineVisible, isSubplot, markerChanged, notifyListeners, removeChangeListener, resolveDomainAxisLocation, resolveRangeAxisLocation, setBackgroundAlpha, setBackgroundImage, setBackgroundImageAlignment, setBackgroundImageAlpha, setBackgroundPaint, setDatasetGroup, setDrawingSupplier, setDrawingSupplier, setForegroundAlpha, setInsets, setInsets, setNoDataMessage, setNoDataMessageFont, setNoDataMessagePaint, setNotify, setOutlinePaint, setOutlineStroke, setOutlineVisible, setParent, zoom
public static final short BORDER_SIZE
public static final String PLOT_TYPE
public static final Font FONT
public static final Font TITLE_FONT
protected Tally[] tallies
protected NumberFormat formatter
protected double confidenceInterval
public void add(Tally tally)
tally
- the tally to be summarizedpublic String getPlotType()
getPlotType
in class org.jfree.chart.plot.Plot
Plot.getPlotType()
public void notify(nl.tudelft.simulation.event.EventInterface event)
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
#notify(nl.tudelft.simulation.event.EventInterface)
public void draw(Graphics2D g2, Rectangle2D rectangle, Point2D point, org.jfree.chart.plot.PlotState plotState, org.jfree.chart.plot.PlotRenderingInfo plotRenderingInfo)
draw
in class org.jfree.chart.plot.Plot
public void draw(Graphics2D g2, Rectangle2D rectangle, org.jfree.chart.plot.PlotState plotState, org.jfree.chart.plot.PlotRenderingInfo plotRenderingInfo)
org.jfree.chart.plot.Plot#draw(java.awt.Graphics2D,
java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState,
org.jfree.chart.plot.PlotRenderingInfo)
public double getConfidenceInterval()
public void setConfidenceInterval(double confidenceInterval)
confidenceInterval
- the confidence intervalCopyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.