VTKFIG  0.20.20181114
Easy VTK based in situ visualization
void vtkfig::XYPlot::Clear ( )

Remove all data from plot.

Definition at line 31 of file vtkfigXYPlot.cxx.

32  {
33  XYPlotActor->RemoveAllActiveCurves();
34  num_plots=0;
35  NextPlotInfo.line_type[0]='-';
38  NextPlotInfo.legend[0]=0;
39 
43 
44  PlotState.dynXMin=1.0e100;
45  PlotState.dynXMax=-1.0e100;
46  PlotState.dynYMin=1.0e100;
47  PlotState.dynYMax=-1.0e100;
48  }
struct vtkfig::XYPlot::@4 PlotState
General state of the XYPlot.
vtkSmartPointer< vtkXYPlotActor > XYPlotActor
The main graphics actor.
Definition: vtkfigXYPlot.h:175
char marker_type[desclen]
Definition: vtkfigXYPlot.h:266
PlotInfo NextPlotInfo
"finite state machine" struture accumulating repective info for next plot
Definition: vtkfigXYPlot.h:278
size_t num_plots
Number of "real" plots.
Definition: vtkfigXYPlot.h:166