Changeset de71632 in sasmodels


Ignore:
Timestamp:
Nov 1, 2017 2:49:23 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a1fc7d, 129bdc4
Parents:
ebd2ba6
Message:

label the jitter plots with the projection name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/jitter.py

    r0f65169 rde71632  
    243243            return Rx(phi_j)*Ry(theta_i) 
    244244        def weight(theta_i, phi_j, wi, wj): 
    245             return wi*wj*cos(radians(theta_i)) 
     245            return wi*wj*abs(cos(radians(theta_i))) 
    246246    elif projection == 'azimuthal_equidistance': 
    247247        def rotate(theta_i, phi_j): 
     
    621621    ## create the plot window 
    622622    #plt.hold(True) 
     623    plt.subplots(num=None, figsize=(5.5, 5.5)) 
    623624    plt.set_cmap('gist_earth') 
    624625    plt.clf() 
     626    plt.gcf().canvas.set_window_title(projection) 
    625627    #gs = gridspec.GridSpec(2,1,height_ratios=[4,1]) 
    626628    #ax = plt.subplot(gs[0], projection='3d') 
Note: See TracChangeset for help on using the changeset viewer.