- Timestamp:
- Mar 17, 2016 9:07:04 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:
- 4373d62
- Parents:
- d634601
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/genmodel.py
r70bbb74 raa2edb2 25 25 'xscale' : 'log', 26 26 'yscale' : 'log' if not info['structure_factor'] else 'linear', 27 'qmin' : 0.00 5,27 'qmin' : 0.001, 28 28 'qmax' : 1.0, 29 29 'nq' : 1000, … … 68 68 fig = plt.figure() 69 69 ax = fig.add_subplot(1,1,1) 70 ax.plot(q, Iq1D, color='blue', lw=2, label= model_name)70 ax.plot(q, Iq1D, color='blue', lw=2, label=info['name']) 71 71 ax.set_xlabel(r'$Q \/(\AA^{-1})$') 72 72 ax.set_xscale(opts['xscale']) … … 101 101 docstr = docstr1 + captionstr + docstr2 102 102 else: 103 print '------------------------------------------------------------------' 103 104 print 'References NOT FOUND for model: ', model_name 105 print '------------------------------------------------------------------' 104 106 docstr = docstr + captionstr 105 107
Note: See TracChangeset
for help on using the changeset viewer.