public class Plot
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(AnnotationRenderer rend,
int obsnum,
java.lang.String text) |
void |
addAnnotation(int obsnum,
java.lang.String text)
Annotates all plots of the ith observation with the given text.
|
void |
addByVariable(java.lang.String varname)
Data is sorted with respect to the By-variables in the
order in which the by-variables are entered.
|
void |
addLinePointSelectionListener(LinePointSelectionListener l) |
void |
addPredictorVariable(java.lang.String varname) |
void |
addResponseVariable(java.lang.String varname) |
void |
addSubplotVariable(java.lang.String varname) |
void |
focusOnAxes(java.lang.String key)
Sets focus to the axes identified by the given key.
|
SLAxes |
getAxes() |
SLAxes |
getAxes(int k)
Returns the kth axes.
|
SLAxes |
getAxes(java.lang.String key)
Returns the axes identified by the given key.
|
SLAxesPreferences |
getAxesPreferences() |
java.util.Vector |
getByVariables() |
int |
getDataIndexForLineIndex(java.lang.String linename,
int selectedLineIndex)
Get the index into the associated data set that corresponds to the given index into the given line.
|
DataSet |
getDataSet() |
AnnotationRenderer |
getDefaultAnnotationRenderer() |
SLFigure |
getFigure() |
java.lang.String |
getFocusAxes() |
boolean |
getIgnoreNaN() |
SLLegend |
getLegend() |
SLLegend |
getLegend(int k)
Returns the kth legend.
|
SLLegend |
getLegend(java.lang.String key)
Returns the legend identified by the given key.
|
SLLegendPreferences |
getLegendPreferences() |
SLLineSegmentRendererPreferences |
getLineSegmentRendererPreferences() |
boolean |
getOnlyReal() |
boolean |
getOverlay() |
java.util.Vector |
getPredictorVariables() |
java.util.Vector |
getResponseVariables() |
java.util.Set |
getSubplotSet() |
java.util.Vector |
getSubplotVariables() |
java.util.Vector |
getVariables() |
UniUniFunction |
getXTransformation() |
UniUniFunction |
getYTransformation() |
void |
putAxes(java.lang.String key,
SLAxes ax)
Changes where this plot will go.
|
void |
putLegend(java.lang.String key,
SLLegend leg)
Changes where the legend of the current axes.
|
void |
removeAllByVariables() |
void |
removeAllPredictorVariables() |
void |
removeAllResponseVariables() |
void |
removeAllSubplotVariables() |
void |
removeByVariable(java.lang.String varname)
Removes the variable as a "by-variable."
|
void |
removeLinePointSelectionListener(LinePointSelectionListener l) |
void |
removePredictorVariable(java.lang.String varname) |
void |
removeResponseVariable(java.lang.String varname)
Removes the variable as a response variable.
|
void |
removeSubplotVariable(java.lang.String varname) |
void |
run() |
void |
setAxesPreferences(SLAxesPreferences p) |
void |
setDefaultAnnotationRenderer(AnnotationRenderer s) |
void |
setFigure(SLFigure fig) |
SLFigurePreferences |
setFigurePreferences() |
void |
setFigurePreferences(SLFigurePreferences p) |
void |
setIgnoreNaN(boolean t) |
void |
setLegendPreferences(SLLegendPreferences p) |
void |
setLineSegmentRendererPreferences(SLLineSegmentRendererPreferences p) |
void |
setOnlyReal(boolean t) |
void |
setOverlay(boolean f) |
void |
setXTransformation(UniUniFunction F) |
void |
setYTransformation(UniUniFunction F) |
public Plot(DataSet S)
public void addLinePointSelectionListener(LinePointSelectionListener l)
public void removeLinePointSelectionListener(LinePointSelectionListener l)
public int getDataIndexForLineIndex(java.lang.String linename, int selectedLineIndex)
public void setOnlyReal(boolean t)
public boolean getOnlyReal()
public void setIgnoreNaN(boolean t)
public boolean getIgnoreNaN()
public void setLineSegmentRendererPreferences(SLLineSegmentRendererPreferences p)
public void setAxesPreferences(SLAxesPreferences p)
public void setFigurePreferences(SLFigurePreferences p)
public void setLegendPreferences(SLLegendPreferences p)
public SLLegendPreferences getLegendPreferences()
public SLAxesPreferences getAxesPreferences()
public SLFigurePreferences setFigurePreferences()
public SLLineSegmentRendererPreferences getLineSegmentRendererPreferences()
public SLFigure getFigure()
public void setFigure(SLFigure fig)
public void setOverlay(boolean f)
public boolean getOverlay()
public SLAxes getAxes()
public SLLegend getLegend()
public void focusOnAxes(java.lang.String key)
public java.lang.String getFocusAxes()
public SLAxes getAxes(java.lang.String key)
public SLLegend getLegend(java.lang.String key)
public SLAxes getAxes(int k)
public SLLegend getLegend(int k)
public java.util.Set getSubplotSet()
public void putAxes(java.lang.String key, SLAxes ax)
public void putLegend(java.lang.String key, SLLegend leg)
public void setYTransformation(UniUniFunction F)
public void setXTransformation(UniUniFunction F)
public UniUniFunction getYTransformation()
public UniUniFunction getXTransformation()
public void addByVariable(java.lang.String varname)
public void addSubplotVariable(java.lang.String varname)
public void removeSubplotVariable(java.lang.String varname)
public void removeAllSubplotVariables()
public void addPredictorVariable(java.lang.String varname)
public void removePredictorVariable(java.lang.String varname)
public void removeAllPredictorVariables()
public void addResponseVariable(java.lang.String varname)
public void addAnnotation(AnnotationRenderer rend, int obsnum, java.lang.String text)
public void setDefaultAnnotationRenderer(AnnotationRenderer s)
public AnnotationRenderer getDefaultAnnotationRenderer()
public void addAnnotation(int obsnum, java.lang.String text)
public void removeByVariable(java.lang.String varname)
public void removeAllByVariables()
public void removeResponseVariable(java.lang.String varname)
public void removeAllResponseVariables()
public java.util.Vector getVariables()
public java.util.Vector getByVariables()
public java.util.Vector getSubplotVariables()
public java.util.Vector getResponseVariables()
public java.util.Vector getPredictorVariables()
public DataSet getDataSet()
public void run()
Copyright © 2011, 2013. Daniel P. Dougherty