Changeset 2d81cfe in sasmodels for sasmodels/data.py
- Timestamp:
- Nov 29, 2017 11:13:23 AM (6 years ago)
- Branches:
- master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 237b800f
- Parents:
- a839b22
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/data.py
ra839b22 r2d81cfe 633 633 _plot_2d_signal(data, target, view=view, vmin=vmin, vmax=vmax) 634 634 plt.title('data') 635 h andle= plt.colorbar()636 h andle.set_label('$I(q)$')635 h = plt.colorbar() 636 h.set_label('$I(q)$') 637 637 638 638 # plot theory … … 642 642 _plot_2d_signal(data, theory, view=view, vmin=vmin, vmax=vmax) 643 643 plt.title('theory') 644 h andle= plt.colorbar()645 h andle.set_label(r'$\log_{10}I(q)$' if view == 'log'646 647 644 h = plt.colorbar() 645 h.set_label(r'$\log_{10}I(q)$' if view == 'log' 646 else r'$q^4 I(q)$' if view == 'q4' 647 else '$I(q)$') 648 648 649 649 # plot resid … … 653 653 _plot_2d_signal(data, resid, view='linear') 654 654 plt.title('residuals') 655 h andle= plt.colorbar()656 h andle.set_label(r'$\Delta I(q)$')655 h = plt.colorbar() 656 h.set_label(r'$\Delta I(q)$') 657 657 658 658
Note: See TracChangeset
for help on using the changeset viewer.