10.4. autoInterval#
- class itom.autoInterval(min=-math.inf, max=math.inf, auto=True)#
Creates a new (auto) interval object.
Properties and slots of
uiItem
objects (e.g. plots) sometimes have parameters of typeautoInterval
. It is either possible to pass anautoInterval
instance, the stringauto
or a list or tuple with the two limit values[min, max]
.Example:
[i,h] = plot(dataObject.randN([100, 100], 'int8')) h['xAxisInterval'] = autoInterval(20, 80) h['yAxisInterval'] = 'auto' h['zAxisInterval'] = [-90, 90]
- Parameters: