Changeset 21763
- Timestamp:
- 06/13/17 07:09:04 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_unit.py
r21611 r21763 94 94 tri=ax.tripcolor(triangles,data,colorlevels,cmap=cmap,norm=norm,alpha=alpha,edgecolors=edgecolor) 95 95 else: 96 97 98 96 #first deal with colormap 99 97 loccmap = plt.cm.ScalarMappable(cmap=cmap) … … 152 150 else: 153 151 triangles=mpl.tri.Triangulation(x,y,elements) 154 tri=ax.tricontourf(triangles,data,colorlevels,cmap=cmap,norm=norm,alpha=alpha) 152 #tri=ax.tricontourf(triangles,data,colorlevels,cmap=cmap,norm=norm,alpha=alpha) 153 tri=ax.tricontourf(triangles,data,colorlevels,cmap=cmap,norm=norm,alpha=alpha,extend='both') 155 154 if edgecolor != 'None': 156 155 ax.triplot(x,y,elements,color=edgecolor)
Note:
See TracChangeset
for help on using the changeset viewer.