Bases: guiqwt.plot.CurveDialog, taurus.qt.qtgui.base.taurusbase.TaurusBaseWidget
A taurus dialog for showing 1D data. It behaves as a regular guiqwt.plot.CurveDialog but it also offers the expected Taurus interface (e.g. setting models, save/apply configs, drag&drops,...)
See also
TaurusCurveWidget
Creates TaurusCurveItems (one for each model in modelNames) and attaches them to the plot.
Note
you can also add curves using add_items(). addModels() is only a more Taurus-oriented interface. add_items() gives you more control.
Parameters: | modelNames (:class:~`sequence` <:class:~`str`> or :class:~`str`) – the names of the models to be plotted. For convenience, string is also accepted (instead of a sequence of strings), in which case the string will be internally converted to a sequence by splitting it on whitespace and commas. Each model can optionally be composed of two parts, separated by “|” indicating X and Y components for the curve. If only one part is given, it is used for Y and X is automatically generated as an index. |
---|
See also
add_item()
reimplemented from TaurusBaseWidget
reimplemented from TaurusBaseWidget
reimplemented from TaurusBaseWidget
reimplemented from TaurusBaseWidget
whether the user can change the contents of the widget
Return type: | :class:~`bool` |
---|---|
Returns: | True if the user is allowed to modify the look&feel |
Removes current TaurusCurveItems and adds new ones.
Parameters: | modelNames (:class:~`sequence` <:class:~`str`> or :class:~`str`) – the names of the models to be plotted. For convenience, a string is also accepted (instead of a sequence of strings), in which case the string will be internally converted to a sequence by splitting it on whitespace and commas. Each model can optionally be composed of two parts, separated by “|” indicating X and Y components for the curve. If only one part is given, it is used for Y and X is automatically generated as an index. |
---|
See also
reimplemented from TaurusBaseWidget