PLplot
5.11.0
|
Go to the source code of this file.
Classes | |
class | Plframe.Plframe |
class | Plframe.PlXframe |
Namespaces | |
namespace | Plframe |
Variables | |
string | Plframe.CMD = 'cmd' |
int | Plframe.variable = 0 |
for i in range( len(devnamlst) ): devnam = devnamlst[i] devkey = devkeylst[i] | |
Plframe.dx = x1-x0 | |
if { $zoomopts($this,1) == 0 } then { | |
Plframe.dy = y1-y0 | |
tuple | Plframe.sign_dx = sign(dx) |
set dx [expr $x1 - $x0] set dy [expr $y1 - $y0] | |
tuple | Plframe.sign_dy = sign(dy) |
Plframe.xl = x0 | |
set sign_dx [expr ($dx > 0) ? 1 : -1] set sign_dy [expr ($dy > 0) ? 1 : -1] | |
Plframe.yl = y0 | |
Plframe.xr = xl+dx | |
set xl $x0 set yl $y0 | |
Plframe.yr = yl+dy | |
Plframe.xscale = xmax-xmin | |
Plframe.yscale = ymax-ymin | |
Plframe.rx = dx/xscale | |
Plframe.ry = dy/yscale | |
Plframe.wxl = xl/Lx | |
Optional translation to relative device coordinates. | |
Plframe.wxr = xr/Lx | |
float | Plframe.wyl = 1.0 |
float | Plframe.wyr = 1.0 |
tuple | Plframe.coords = s.zoom_coords( s.wx, s.wy, e.x, e.y, 1 ) |
bind [plwin] <B1-ButtonRelease> {} bind [plwin] <B1-Motion> {} | |
int | Plframe.stdzoom = 5 |
Check for double-click (specified zoom region less than a few pixels wide). | |
int | Plframe.nxl = 5 |
int | Plframe.nxr = 5 |
int | Plframe.nyl = 5 |
int | Plframe.nyr = 5 |
tuple | Plframe.bounds = split( s.tk.call( s.plf._w, 'view', 'bounds' ) ) |
Adjust arguments to be in bounds (in case margins are in effect). | |
tuple | Plframe.xmin = atof( bounds[0] ) |
tuple | Plframe.ymin = atof( bounds[1] ) |
tuple | Plframe.xmax = atof( bounds[2] ) |
tuple | Plframe.ymax = atof( bounds[3] ) |
int | Plframe.created_sb = 0 |
Create scrollbars if they don't already exist. |