Changeset a17ffdf in sasview
- Timestamp:
- Jul 1, 2008 12:55:27 PM (16 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- f168d02
- Parents:
- d0802c3
- Location:
- guitools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
guitools/PlotPanel.py
r4972de2 ra17ffdf 572 572 from plottable_interactor import PointInteractor 573 573 p = PointInteractor(self, self.subplot, zorder=3, id=name) 574 p.points(x, y, dx , dy, color, symbol,label)574 p.points(x, y, dx=dx, dy=dy, color=color, symbol=symbol, label=label) 575 575 576 576 self.subplot.set_yscale(self.yscale) … … 584 584 from plottable_interactor import PointInteractor 585 585 p = PointInteractor(self, self.subplot, zorder=4, id=name) 586 p.curve(x, y, dy , color, symbol,label)586 p.curve(x, y, dy=dy, color=color, symbol=symbol, label=label) 587 587 588 588 self.subplot.set_yscale(self.yscale) -
guitools/plottable_interactor.py
r7fef474 ra17ffdf 8 8 self.zorder = zorder 9 9 self.id = id 10 self.color=color 10 11 self.colorlist = ['b','g','r','c','m','y'] 11 12 self.symbollist = ['o','x','^','v','<','>','+','s','d','D','h','H','p'] … … 141 142 Update 142 143 """ 143 p rint "update"144 pass 144 145 145 146 -
guitools/plottables.py
r4972de2 ra17ffdf 43 43 import numpy 44 44 import math 45 import sys 45 46 46 47 if 'any' not in dir(__builtins__): … … 198 199 if plottable in self.plottables: 199 200 del self.plottables[plottable] 200 if self.color > 0:201 self.color = self.color -1202 else:203 self.color =0201 if self.color > 0: 202 self.color = self.color -1 203 else: 204 self.color =0 204 205 205 206 def reset_scale(self):
Note: See TracChangeset
for help on using the changeset viewer.