Changeset db500cb in sasview for src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
- Timestamp:
- Sep 18, 2018 3:44:01 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- aa82f54
- Parents:
- 5990185
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
r5990185 rdb500cb 592 592 # similar to FittingLogic._create1DPlot() but different data/axes 593 593 data1d = Data1D(x = arr[0], y = arr[1]) 594 data1d.xaxis('\\rm{{{}}} '.format(name.replace('_', '\_')), 'A') # correct unit? 594 xunit = "" 595 if name in model.details and len(model.details[name]): 596 xunit = model.details[name][0] 597 data1d.xaxis('\\rm{{{}}}'.format(name.replace('_', '\_')), xunit) 595 598 data1d.yaxis('\\rm{{{weight}}}', 'normalized') 596 599 data1d.scale = 'linear'
Note: See TracChangeset
for help on using the changeset viewer.