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
Constructors -
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 voidhandleAxisChange(PlotAxisChange change) protected voidbooleanbooleanisZoomed()voidvoidvoidplotWaveform(Waveform waveform, double peakOffset, String waveformName, int zOrder, javafx.scene.paint.Color lineColor) voidvoidReset the start and end cuts for the ratio plot to be the original values.voidsetAlignPeaks(boolean alignPeaks) voidsetAxisChangeListener(PropertyChangeListener axisChange) voidsetCutSegmentChangeListener(PropertyChangeListener cutSegmentChange) voidsetRatioDetails(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, updateMethods 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:
handlePickMovedStatein classPlotlyWaveformPlot
-
setCutSegmentChangeListener
-
handleAxisChange
- Overrides:
handleAxisChangein classPlotlyWaveformPlot
-
setAxisChangeListener
-
resetAxisLimits
public void resetAxisLimits() -
isZoomed
public boolean isZoomed() -
getPlotIdentifier
-
getxAxis
-
getyAxis
-
isAlignPeaks
public boolean isAlignPeaks() -
setAlignPeaks
public void setAlignPeaks(boolean alignPeaks)
-