- Timestamp:
- Apr 3, 2008 10:52:26 AM (17 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:
- 89a436a
- Parents:
- 4965ea1
- Location:
- guitools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
guitools/PlotPanel.py
r1d40f44 r061775ff 481 481 @param plottable: the plottable to plot 482 482 """ 483 plottable.reset_view() 483 484 self.graph.add(plottable) 484 485 self.graph.render(self) -
guitools/fitDialog.py
re40b651 r061775ff 93 93 print "we are on fit" 94 94 temp =[] 95 tempdx =[]95 #tempdx =[] 96 96 tempdy =[] 97 97 xmin = self._checkVal(self.tcXmin.GetValue()) … … 103 103 if x[j]>xmin and x[j]<xmax: 104 104 temp.append(self.model.run(x[j])) 105 tempdx.append(math.sqrt(x[j]))105 #tempdx.append(math.sqrt(x[j])) 106 106 for y_i in temp: 107 107 tempdy.append(math.sqrt(y_i)) … … 120 120 self.file_data1.x =x 121 121 self.file_data1.y =temp 122 self.file_data1.dx=tempdx 123 self.file_data1.dy=tempdy 122 #self.file_data1.dx=tempdx 123 self.file_data1.dx=None 124 #self.file_data1.dy=tempdy 125 self.file_data1.dy=None 124 126 125 127 -
guitools/plottables.py
r1d40f44 r061775ff 492 492 self.x = x 493 493 self.y = y 494 495 494 self.dy = dy 496 495 #Alina:added 496 self.view = self.View(self.x, self.y, None, self.dy) 497 497 def render(self,plot,**kw): 498 plot.curve(self.x,self.y,dy=self.dy,**kw) 498 #plot.curve(self.x,self.y,dy=self.dy,**kw) 499 plot.curve(self.view.x,self.view.y,dy=self.view.dy,**kw) 499 500 500 501 def changed(self):
Note: See TracChangeset
for help on using the changeset viewer.