- Timestamp:
- Sep 20, 2018 11:07:09 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:
- 44deced
- Parents:
- a8b3e2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Fitting/FittingUtilities.py
r5d3af9f r0177eb6 583 583 # similar to FittingLogic._create1DPlot() but different data/axes 584 584 data1d = Data1D(x=xarr, y=yarr) 585 xunit = "" 586 if name in model.details and len(model.details[name]): 587 xunit = model.details[name][0] 588 data1d.xaxis('\\rm{{{}}}'.format(name.replace('_', '\_')), xunit) 589 data1d.yaxis('\\rm{{{weight}}}', 'normalized') 585 xunit = model.details[name][0] 586 data1d.xaxis(r'\rm{{{}}}'.format(name.replace('_', '\_')), xunit) 587 data1d.yaxis(r'\rm{weight}', 'normalized') 590 588 data1d.scale = 'linear' 591 589 data1d.symbol = 'Line'
Note: See TracChangeset
for help on using the changeset viewer.