Changeset 03e8a6e in sasmodels
- Timestamp:
- Mar 17, 2016 10:52:45 AM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 735507b
- Parents:
- 54954e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/genmodel.py
raa2edb2 r03e8a6e 25 25 'xscale' : 'log', 26 26 'yscale' : 'log' if not info['structure_factor'] else 'linear', 27 'xlabel' : '$Q \/(\AA^{-1})$', 28 'ylabel' : '$I(Q) \/(\mathrm{cm}^{-1})$' if not info['structure_factor'] else '$S(Q) \/(\mathrm{cm}^{-1})$', 27 29 'qmin' : 0.001, 28 30 'qmax' : 1.0, … … 69 71 ax = fig.add_subplot(1,1,1) 70 72 ax.plot(q, Iq1D, color='blue', lw=2, label=info['name']) 71 ax.set_xlabel( r'$Q \/(\AA^{-1})$')73 ax.set_xlabel(opts['xlabel']) 72 74 ax.set_xscale(opts['xscale']) 73 ax.set_ylabel( r'$I(Q) \/(\mathrm{cm}^{-1})$')75 ax.set_ylabel(opts['ylabel']) 74 76 ax.set_yscale(opts['yscale']) 75 77 ax.legend()
Note: See TracChangeset
for help on using the changeset viewer.