Changeset 21656
- Timestamp:
- 04/04/17 04:53:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_BC.py
r21588 r21656 44 44 y[np.where(~np.isnan(md.stressbalance.spcvz))], 45 45 marker='o',c='y',s=80,label='vz Dirichlet',linewidth=0) 46 ax.scatter(x[np.where(~np.isnan(md.hydrology.spcepl_head))], 47 y[np.where(~np.isnan(md.hydrology.spcepl_head))], 48 marker='v',c='r',s=240,label='EPL Head',linewidth=0) 49 ax.scatter(x[np.where(~np.isnan(md.hydrology.spcsediment_head))], 50 y[np.where(~np.isnan(md.hydrology.spcsediment_head))], 51 marker='^',c='b',s=240,label='IDS head',linewidth=0) 52 46 try: 47 ax.scatter(x[np.where(~np.isnan(md.hydrology.spcepl_head))], 48 y[np.where(~np.isnan(md.hydrology.spcepl_head))], 49 marker='v',c='r',s=240,label='EPL Head',linewidth=0) 50 ax.scatter(x[np.where(~np.isnan(md.hydrology.spcsediment_head))], 51 y[np.where(~np.isnan(md.hydrology.spcsediment_head))], 52 marker='^',c='b',s=240,label='IDS head',linewidth=0) 53 except AttributeError: 54 print ('Not treating Hydrologydc, skipping these boundaries') 53 55 ax.set_xlim(XLims) 54 56 ax.set_ylim(YLims)
Note:
See TracChangeset
for help on using the changeset viewer.