Changeset d5e650d in sasmodels
- Timestamp:
- Feb 5, 2016 10:21:24 PM (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:
- 3a45c2c
- Parents:
- 840b859
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
rd07c883 rd5e650d 539 539 if Ncomp > 0 and Nbase > 0: 540 540 plt.subplot(133) 541 if '-abs' in opts:541 if not opts['rel_err']: 542 542 err, errstr, errview = resid, "abs err", "linear" 543 543 else: … … 545 545 #err,errstr = base/comp,"ratio" 546 546 plot_theory(data, None, resid=err, view=errview, use_data=False) 547 if view == 'linear': 548 plt.xscale('linear') 547 549 plt.title("max %s = %.3g"%(errstr, max(abs(err)))) 548 550 #cbar_title = errstr if errview=="linear" else "log "+errstr
Note: See TracChangeset
for help on using the changeset viewer.