Changeset 978967c in sasview
- Timestamp:
- Oct 22, 2008 9:35:04 AM (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:
- 44bbf6a
- Parents:
- 7691125
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_loader.py
r48c7477 r978967c 85 85 new_plot.x_bins=output.x_bins 86 86 new_plot.y_bins=output.y_bins 87 #print "data_loader",output 87 88 else: 88 89 if output.dy==None: … … 90 91 else: 91 92 new_plot = Data1D(x=output.x,y=output.y,dy=output.dy) 92 93 93 94 filename = os.path.basename(path) 94 95 new_plot.source=output 95 new_plot.name = name96 new_plot.name = filename 96 97 new_plot.interactive = True 97 98 # If the data file does not tell us what the axes are, just assume... 98 new_plot.xaxis("\\rm{Q}",'A^{-1}') 99 new_plot.yaxis("\\rm{Intensity} ","cm^{-1}") 99 new_plot.xaxis(output._xaxis,output._xunit) 100 new_plot.yaxis(output._yaxis,output._yunit) 101 #new_plot.xaxis("\\rm{Q}",'A^{-1}') 102 #new_plot.yaxis("\\rm{Intensity} ","cm^{-1}") 103 100 104 new_plot.group_id = filename 101 105
Note: See TracChangeset
for help on using the changeset viewer.