- Timestamp:
- Jul 10, 2008 6:13:46 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:
- 159db3b
- Parents:
- 4dd63eb
- Location:
- guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_loader.py
r4102709 r49b3ddd 62 62 63 63 #Recieves data 64 x,y,dy=L.load(path)65 64 output=L.load(path) 65 66 66 import numpy 67 67 68 if dy==None:69 new_plot = Theory1D( x,y)68 if output.dy==None: 69 new_plot = Theory1D(output.x, output.y) 70 70 else: 71 new_plot = Data1D( x, y, dy=dy)71 new_plot = Data1D(output.x, output.y, dy=output.dy) 72 72 new_plot.name = name 73 73 new_plot.interactive = True -
guiframe/local_perspectives/plotting/plotting.py
r9a3adab r49b3ddd 64 64 self.graph.yaxis("\\rm{Intensity} ","cm^{-1}") 65 65 self.graph.render(self) 66 66 67 67 def _reset(self): 68 68 """
Note: See TracChangeset
for help on using the changeset viewer.