File MIES_AcceleratedModifyGraph.ipf¶
Functions for very fast ModifyGraph invocations for many (> 1000) traces.
Functions
-
variable ACC_HideTraces(string graph, WaveText w, variable h, variable s)¶
Accelerated setting of multiple traces in a graph to un/hidden.
- Parameters:
graph – [in] name of graph window
w – [in] 1D text wave with trace names
h – [in] number of traces in text wave
s – [in] new hidden state
-
variable ACC_HideTracesPerTrace(string graph, WaveText w, variable h, wave s)¶
Accelerated setting of multiple traces in a graph to un/hidden with per trace hide state.
See GenerateAcceleratedModifyGraphCase() for how to generate the code between
BEGIN/END AUTOMATED CODE
.- Parameters:
graph – [in] name of graph window
w – [in] 1D text wave with trace names
h – [in] number of traces in text wave
s – [in] new hidden state
-
variable ACC_HideTracesAndColor(string graph, WaveText w, variable h, wave hideState, wave color)¶
Accelerated setting of multiple traces in a graph to un/hidden and the color.
The code between
BEGIN/END AUTOMATED CODE
is generated via GenerateAcceleratedModifyGraphCase(“hideTrace”) and cleanup for whitespace errors.- Parameters:
graph – [in] name of graph window
w – [in] 1D text wave with trace names
h – [in] number of traces in text wave
hideState – [in] new hidden state
color – [in] new hidden state
Variables
-
static const double ACC_MAX = 1024¶