|
Microwave filters GUI
2.0.3
|
Class that stores zoomer base. More...
Public Member Functions | |
| def | __init__ |
| Class constructor. | |
| def | updateZoomerBase |
| Given a set of max and min values for all axis, computes and returns the zoomer base rectangles. | |
Class that stores zoomer base.
It is useul to autoscale to the zoomer base, not using the method setAxisAutoScale, which would scale accounting the masks.
| def dbplot.AutoScaleZoomerBase.__init__ | ( | self, | |
| leftZoomerBaseRect, | |||
| rightZoomerBaseRect | |||
| ) |
Class constructor.
Gets the data from dbplot zoomers base in nTab.
| leftZoomerBaseRect | = Left zoomer base rectangle (QRectF). |
| rightZoomerBaseRect | = Right zoomer base rectangle (QRectF). Left zoomer base. Right zoomer base for autoscale,. Zoomer base for autoscale, Xmin. Zoomer base for autoscale, Xmax. Zoomer base for autoscale, LeftYmin. Zoomer base for autoscale, LeftYmax. Zoomer base for autoscale, RightYmin. Zoomer base for autoscale, RightYmax. |
Definition at line 2419 of file dbplot.py.
References dbplot.AutoScaleZoomerBase.leftYmax, dbplot.AutoScaleZoomerBase.leftYmin, dbplot.AutoScaleZoomerBase.leftZoomerBaseRect, dbplot.AutoScaleZoomerBase.rightYmax, dbplot.AutoScaleZoomerBase.rightYmin, dbplot.AutoScaleZoomerBase.rightZoomerBaseRect, dbplot.AutoScaleZoomerBase.Xmax, and dbplot.AutoScaleZoomerBase.Xmin.
| def dbplot.AutoScaleZoomerBase.updateZoomerBase | ( | self, | |
| Xmin, | |||
| Xmax, | |||
| leftYmin, | |||
| leftYmax, | |||
| rightYmin, | |||
| rightYmax | |||
| ) |
Given a set of max and min values for all axis, computes and returns the zoomer base rectangles.
The attributes of AutoScaleZoomerBase class instance are updated accordingly.
Definition at line 2461 of file dbplot.py.
References dbplot.AutoScaleZoomerBase.leftYmax, dbplot.AutoScaleZoomerBase.leftYmin, dbplot.AutoScaleZoomerBase.leftZoomerBaseRect, dbplot.AutoScaleZoomerBase.rightYmax, dbplot.AutoScaleZoomerBase.rightYmin, dbplot.AutoScaleZoomerBase.rightZoomerBaseRect, dbplot.AutoScaleZoomerBase.Xmax, and dbplot.AutoScaleZoomerBase.Xmin.
1.8.1.2