/// <summary> /// Clear all the plots. /// </summary> public void ClearPlots() { HeatmapPlot.ClearPlot(); TimeSeriesPlot.ClearPlot(); ShipTrackPlot.ClearPlot(); AmplitudePlot.ClearPlot(); CorrelationPlot.ClearPlot(); Profile3dPlot.ClearPlot(); }
/// <summary> /// Plot the 3D velocity plot. /// Get the velocity vectors from the ensemble. /// </summary> private void Plot3dVelocityPlot() { if (_ensemble != null && _ensemble.IsEnsembleAvail && _ensemble.IsEarthVelocityAvail && _ensemble.EarthVelocityData.IsVelocityVectorAvail) { // Create struct to hold the data DataSet.EnsembleVelocityVectors ensVec = new DataSet.EnsembleVelocityVectors(); ensVec.Id = _ensemble.EnsembleData.UniqueId; ensVec.Vectors = _ensemble.EarthVelocityData.VelocityVectors; Profile3dPlot.AddData(ensVec); } }