/// <summary> /// Load the project to all the plots. /// </summary> /// <param name="project"></param> public void LoadProject(Project project) { HeatmapPlot.LoadProject(project.GetProjectFullPath(), Config.Config); ShipTrackGmapPlot.LoadProject(project.GetProjectFullPath(), Config.Config); //TimeSeriesPlot.LoadProject(project.GetProjectFullPath(), Config.Config); ShipTrackPlot.LoadProject(project.GetProjectFullPath(), Config.Config); }
/// <summary> /// Process the new data. /// </summary> private void ProcessData() { // Get the average velocity and direction CalcAvgVelDir(); // Get the boat speed AverageBoatSpeed(); // Pass the data to tabular TabularData.ProcessData(_ensemble); if (TabularDataExpanded != null) { TabularDataExpanded.ProcessData(_ensemble); } TimeSeriesPlot.AddEnsemble(_ensemble); // Plot 3D Velocity Plot Plot3dVelocityPlot(); // Update the Heatmap HeatmapPlot.AddEnsemble(_ensemble); if (HeatmapPlotExapnded != null) { HeatmapPlotExapnded.AddEnsemble(_ensemble); } // Plot the amplitude data AmplitudePlot.AddEnsemble(_ensemble); // Plot the correlation data CorrelationPlot.AddEnsemble(_ensemble); }
/// <summary> /// Clear all the plots. /// </summary> public void ClearPlots() { HeatmapPlot.ClearPlot(); TimeSeriesPlot.ClearPlot(); ShipTrackPlot.ClearPlot(); AmplitudePlot.ClearPlot(); CorrelationPlot.ClearPlot(); Profile3dPlot.ClearPlot(); }
/// <summary> /// Playback the data. /// </summary> /// <param name="minIndex"></param> /// <param name="maxIndex"></param> public void Playback(int minIndex, int maxIndex) { HeatmapPlot.PlaybackData(minIndex, maxIndex); }