Class CodaWaveformPlot
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.CodaWaveformPlot
- All Implemented Interfaces:
Serializable
,BasicPlot
- See Also:
-
Field Summary
Fields inherited from class llnl.gnem.core.gui.plotting.plotly.PlotlyPlot
engine, plotData
-
Constructor Summary
ConstructorDescriptionCodaWaveformPlot
(WaveformClient waveformClient, ShapeMeasurementClient shapeClient, ParameterClient paramClient, PeakVelocityClient velocityClient, BooleanSupplier showGroupVelocity, BooleanSupplier showWindowLines, BooleanSupplier showCodaStartLine, TimeSeries... seismograms) -
Method Summary
Modifier and TypeMethodDescriptionaddLine
(TimeSeries seismogram, javafx.scene.paint.Color lineColor) static float[]
doublesToFloats
(double[] x) getxAxis()
getyAxis()
protected void
handleAxisChange
(PlotAxisChange change) protected void
boolean
isZoomed()
void
void
setAxisChangeListener
(PropertyChangeListener axisChange) void
void
void
setWaveform
(SyntheticCoda synth) void
setWaveform
(Waveform waveform) void
setWaveform
(Waveform waveform, SyntheticCoda synth) void
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
-
CodaWaveformPlot
public CodaWaveformPlot(WaveformClient waveformClient, ShapeMeasurementClient shapeClient, ParameterClient paramClient, PeakVelocityClient velocityClient, BooleanSupplier showGroupVelocity, BooleanSupplier showWindowLines, BooleanSupplier showCodaStartLine, TimeSeries... seismograms)
-
-
Method Details
-
setGroupVelocityVisbility
public void setGroupVelocityVisbility() -
setWindowLineVisbility
public void setWindowLineVisbility() -
setCodaStartLineVisbility
public void setCodaStartLineVisbility() -
setWaveform
-
setWaveform
-
setWaveform
-
addLine
-
handlePickMovedState
- Overrides:
handlePickMovedState
in classPlotlyWaveformPlot
-
handleAxisChange
- Overrides:
handleAxisChange
in classPlotlyWaveformPlot
-
setAxisChangeListener
-
doublesToFloats
public static float[] doublesToFloats(double[] x) -
getPlotIdentifier
-
getxAxis
-
getyAxis
-
resetAxisLimits
public void resetAxisLimits() -
isZoomed
public boolean isZoomed()
-