Changeset 8267e0b in sasmodels for explore/angular_pd.py
- Timestamp:
- Mar 22, 2017 3:54:34 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- b00a646
- Parents:
- 4050e6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
explore/angular_pd.py
r12eb36b r8267e0b 47 47 48 48 def draw_mesh_new(ax, theta, dtheta, phi, dphi, flow, radius=10., dist='gauss'): 49 theta_center = radians( theta)49 theta_center = radians(90-theta) 50 50 phi_center = radians(phi) 51 51 flow_center = radians(flow) … … 137 137 radius=11., dist=dist) 138 138 if not axis.startswith('d'): 139 ax.view_init(elev= theta, azim=phi)139 ax.view_init(elev=90-theta if use_new else theta, azim=phi) 140 140 plt.gcf().canvas.draw() 141 141
Note: See TracChangeset
for help on using the changeset viewer.