Changeset 33d38d5 in sasmodels for sasmodels/bumps_model.py


Ignore:
Timestamp:
Mar 24, 2015 4:02:18 AM (9 years ago)
Author:
unknown <jhbakker@…>
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:
0656250
Parents:
8632a35
Message:

Add SESANS example data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/bumps_model.py

    r8632a35 r33d38d5  
    221221    plt.errorbar(data.x, data.y, yerr=data.dy) 
    222222    plt.plot(data.x, theory, '-', hold=True) 
    223     plt.xlabel('spin echo length (A)') 
    224     plt.ylabel('polarization') 
     223    plt.xlabel('spin echo length (nm)') 
     224    plt.ylabel('polarization (P/P0)') 
    225225    plt.subplot(122) 
    226226    plt.plot(data.x, resid, 'x') 
    227     plt.xlabel('spin echo length (A)') 
    228     plt.ylabel('residuals') 
     227    plt.xlabel('spin echo length (nm)') 
     228    plt.ylabel('residuals (P/P0)') 
    229229 
    230230def _plot_result2D(data, theory, view): 
Note: See TracChangeset for help on using the changeset viewer.