Class RatioDetailPlot
java.lang.Object
llnl.gnem.core.gui.plotting.plotly.PlotlyPlot
llnl.gnem.core.gui.plotting.plotly.PlotlyWaveformPlot
gov.llnl.gnem.apps.coda.calibration.gui.plotting.RatioDetailPlot
- All Implemented Interfaces:
Serializable
,BasicPlot
- See Also:
-
Field Summary
Fields inherited from class llnl.gnem.core.gui.plotting.plotly.PlotlyPlot
engine, plotData
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddLine
(TimeSeries timeSeries, int zOrder, javafx.scene.paint.Color lineColor) static float[]
doublesToFloats
(double[] x) static double[]
floatsToDoubles
(float[] x) getxAxis()
getyAxis()
protected void
handleAxisChange
(PlotAxisChange change) protected void
boolean
boolean
isZoomed()
void
void
void
plotWaveform
(Waveform waveform, double peakOffset, String waveformName, int zOrder, javafx.scene.paint.Color lineColor) void
void
Reset the start and end cuts for the ratio plot to be the original values.void
setAlignPeaks
(boolean alignPeaks) void
setAxisChangeListener
(PropertyChangeListener axisChange) void
setCutSegmentChangeListener
(PropertyChangeListener cutSegmentChange) void
setRatioDetails
(SpectraRatioPairOperator ratioDetails) Methods inherited from class llnl.gnem.core.gui.plotting.plotly.PlotlyWaveformPlot
addPickToAll, addPickToAll, addSeismogram, addSeismogram, clear, getMinMaxWithinSection, getSeismograms, getTime, getValue, handleOtherChange, plot, replot, setTitle, update
Methods inherited from class llnl.gnem.core.gui.plotting.plotly.PlotlyPlot
addAxes, addPlotObject, addPlotObject, addPlotObjectObserver, attachToDisplayNode, clearAxes, createSubPlot, exportData, fireAxisChangeEvent, fireFreqLevelChange, fireOtherChangeEvent, firePlotClickedEvent, firePlotMouseMovedEvent, fireSelectionEvent, fireShapeMoveEvent, fullReplot, getBackgroundColor, getPlotDataJSON, getPlotLayoutJSON, getPlotTypes, getSVG, getTitle, hasChanges, hasPersistentChanges, isClickToPickEnabled, isShowFreqLevelButtons, log, removePlotObject, removePlotObject, replot, setAxisLimits, setBackgroundColor, setClickPickingModeEnabled, setColorMap, setDragMode, setMargin, setShowFreqLevelButtons, setShowGroupVelocity, setShowHorizontalErrorBars, setShowWindowLines, setSubplotLayout, setSymbolSize, setUseHorizontalBottomLegend, showLegend
-
Constructor Details
-
RatioDetailPlot
public RatioDetailPlot() -
RatioDetailPlot
-
-
Method Details
-
setRatioDetails
-
getRatioDetails
-
plotRatio
public void plotRatio() -
plotDiffRatio
public void plotDiffRatio() -
plotWaveform
-
addLine
-
doublesToFloats
public static float[] doublesToFloats(double[] x) -
floatsToDoubles
public static double[] floatsToDoubles(float[] x) -
resetCuts
public void resetCuts()Reset the start and end cuts for the ratio plot to be the original values. -
handlePickMovedState
- Overrides:
handlePickMovedState
in classPlotlyWaveformPlot
-
setCutSegmentChangeListener
-
handleAxisChange
- Overrides:
handleAxisChange
in classPlotlyWaveformPlot
-
setAxisChangeListener
-
resetAxisLimits
public void resetAxisLimits() -
isZoomed
public boolean isZoomed() -
getPlotIdentifier
-
getxAxis
-
getyAxis
-
isAlignPeaks
public boolean isAlignPeaks() -
setAlignPeaks
public void setAlignPeaks(boolean alignPeaks)
-