public class PlotProvider
extends java.lang.Object
Constructor and Description |
---|
PlotProvider()
Default constructor
|
PlotProvider(java.lang.String newPlotTitle)
A comprehensive constructor that takes in a plot title
|
Modifier and Type | Method and Description |
---|---|
void |
addSeries(double time,
ISeries newSeries)
Adds a new ISeries to the specified time
|
ISeries |
getIndependentSeries() |
XYZPlotStyle |
getPlotStyle()
Accessor for the plot style
|
java.lang.String |
getPlotTitle()
Accessor for the plot title
|
java.util.ArrayList<ISeries> |
getSeriesAtTime(double time)
Returns all the series at a specified time
|
java.util.ArrayList<java.lang.Double> |
getTimes()
Accessor for the times
|
java.lang.String |
getTimeUnits()
Accessor for the plot's time units
|
XYZAxisStyle |
getXAxisStyle()
Accessor for the plot's x axis style
|
XYZAxisStyle |
getYAxisStyle()
Accessor for the plot's y axis style
|
boolean |
isContour()
Method to check if this plotProvider is a contour
|
void |
removeSeries(double time,
ISeries oldSeries)
Removes an existing SeriesProvider from the specified time.
|
void |
setIndependentSeries(ISeries indptSeries)
Sets the independent series to provide.
|
void |
setPlotAsContour()
Sets the plot to be drawn as a contour map rather than a series plot
|
void |
setPlotStyle(XYZPlotStyle newStyle)
Sets the
XYZPlotStyle for the plot, which is read in by the
editor and applied appropriately. |
void |
setPlotTitle(java.lang.String newTitle)
Mutator for the plot title
|
void |
setTimeUnits(java.lang.String newUnit) |
void |
setXAxisStyle(XYZAxisStyle newStyle)
Sets the x axis style for the plot.
|
void |
setYAxisStyle(XYZAxisStyle newStyle)
Sets the y axis style for the plot
|
public PlotProvider()
public PlotProvider(java.lang.String newPlotTitle)
public void addSeries(double time, ISeries newSeries)
time
- newSeries
- public ISeries getIndependentSeries()
public XYZPlotStyle getPlotStyle()
public java.lang.String getPlotTitle()
public java.util.ArrayList<ISeries> getSeriesAtTime(double time)
time
- public java.util.ArrayList<java.lang.Double> getTimes()
public java.lang.String getTimeUnits()
public XYZAxisStyle getXAxisStyle()
public XYZAxisStyle getYAxisStyle()
public boolean isContour()
public void removeSeries(double time, ISeries oldSeries)
time
- The time at which the series should be removed.oldSeries
- The series that should be removed.public void setIndependentSeries(ISeries indptSeries)
indptSeries
- The ISeries
to provide.public void setPlotAsContour()
public void setPlotStyle(XYZPlotStyle newStyle)
XYZPlotStyle
for the plot, which is read in by the
editor and applied appropriately.newStyle
- public void setPlotTitle(java.lang.String newTitle)
plotTitle
- public void setTimeUnits(java.lang.String newUnit)
timeUnits
- public void setXAxisStyle(XYZAxisStyle newStyle)
newStyle
- public void setYAxisStyle(XYZAxisStyle newStyle)
newStyle
-