pwPlottingSetVisibleIDs


 pwPlottingSetVisibleIDs(variableType, variableIDs, iCouple, mode)
 pwPlottingSetVisibleIDs(variableType, 'all', iCouple, mode)

 Allows to plot only a subset of variables.

 

Arguments for pwPlottingSetVisibleIDs

 variableType   string     'a','u','x','y','z'
 variableIDs    IDs array  E.g. {'A', 'B', 'C'}
                           Use 'all' as the second argument to show or hide all
                           IDs for the selected variableType and couple number.
 iCouple        int        Number of combined couple. Default 1.
 mode           string     'show' (default), 'hide'

 

Description

 Use this function to show or to hide a subset of variables programmatically.
 The same functionality is available in the equalizer (plotting view).
 Only the currently combined couples are affected, i.e. the current assembly.

 Each call overwrites the current setting, i.e. in order to
 show species A, B, C, the function has to be called as in the
 following example.

 

Example

 pwPlottingSetVisibleIDs('x', {'A', 'B', 'C'});
 pwPlottingSetVisibleIDs('x', {'A', 'B', 'C'}, 1, 'show'); % same effect as above

See also

pwPlottingAddGroup