Changeset 1546 for trunk/python
- Timestamp:
- 03/27/09 15:55:42 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asaplotbase.py
r1535 r1546 278 278 self.register('button_press', position_disable) 279 279 280 281 def get_region(self): 282 pos = [] 283 print "Please select the bottom/left point" 284 pos.append(self.figure.ginput(n=1, show_clicks=False)[0]) 285 print "Please select the top/right point" 286 pos.append(self.figure.ginput(n=1, show_clicks=False)[0]) 287 return pos 288 289 def get_point(self): 290 print "Please select the point" 291 return self.figure.ginput(n=1, show_clicks=False)[0] 280 292 281 293 def region(self):
Note:
See TracChangeset
for help on using the changeset viewer.