public class UnwrappedGeneratorGraphData extends BasicGraphData
BasicGraphData.CompareErr, BasicGraphData.CompareX, BasicGraphData.CompareY, BasicGraphData.XYpoint
Modifier and Type | Field and Description |
---|---|
protected BasicGraphData |
extUnwrappedData |
color, drawLinesOn, drawPointsOn, errYmax, graphDataContainerV, immediateContainerUpdate, lineStroke, lineThick, lockUpObj, markShape, markShapeFilled, name, nInterpPoints, pointSize, propertyMap, xMax, xMin, xyInterpPointV, xyPointV, yMax, yMin
Constructor and Description |
---|
UnwrappedGeneratorGraphData()
data set constructor
|
UnwrappedGeneratorGraphData(int nPoint,
int nInterpPoints)
data set constructor with defined initial capacity
for number of (x,y) points and interpolated points
|
Modifier and Type | Method and Description |
---|---|
void |
addPoint(double x,
double y,
double err)
add (x,y, error of y) point to the data set and
an unwrapped data point to the external container
|
static void |
main(java.lang.String[] args) |
void |
removeAllPoints()
remove all points from the data set
|
void |
setExtUnwrappedContainer(BasicGraphData extUnwrappedData)
set the external data container for unwrapped data
|
protected double |
unwrap(double y,
double yIn)
this method finds +-2*PI to produce the nearest points
|
addPoint, addPoint, addPoint, calculateRepresentation, getCapacity, getDrawLinesOn, getDrawPointsOn, getErr, getGraphColor, getGraphDataContainer, getGraphName, getGraphPointShape, getGraphPointSize, getGraphProperty, getGraphPropertyKeys, getGraphPropertySize, getImmediateContainerUpdate, getInterpX, getInterpY, getLineThick, getLockObject, getMaxErr, getMaxX, getMaxY, getMinX, getMinY, getNumberOfGraphDataContainers, getNumbOfInterpPoints, getNumbOfPoints, getStroke, getValueDerivativeY, getValueY, getX, getY, init, isGraphPointShapeFilled, registerInContainer, removeContainer, removePoint, setDrawLinesOn, setDrawPointsOn, setGraphColor, setGraphName, setGraphPointFillingShape, setGraphPointShape, setGraphPointSize, setGraphProperty, setImmediateContainerUpdate, setLineDashPattern, setLineStroke, setLineThick, updateContainer, updateData, updatePoint, updatePoint, updateValues, updateValues, updateValuesY, updateValuesY, updateValueY
protected BasicGraphData extUnwrappedData
public UnwrappedGeneratorGraphData()
public UnwrappedGeneratorGraphData(int nPoint, int nInterpPoints)
public void setExtUnwrappedContainer(BasicGraphData extUnwrappedData)
public void addPoint(double x, double y, double err)
addPoint
in class BasicGraphData
x
- The feature to be added to the Point attributey
- The feature to be added to the Point attributeerr
- The feature to be added to the Point attributeprotected double unwrap(double y, double yIn)
public void removeAllPoints()
removeAllPoints
in class BasicGraphData
public static void main(java.lang.String[] args)