Changeset 17915


Ignore:
Timestamp:
05/01/14 21:58:01 (11 years ago)
Author:
cborstad
Message:

CHG: pass color norm for element plot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_unit.py

    r17841 r17915  
    4747           #element plot
    4848                if is2d:
    49                         tri=ax.tripcolor(x,y,elements,data,colorlevels,cmap=cmap,edgecolors=edgecolor)
     49                        tri=ax.tripcolor(x,y,elements,data,colorlevels,cmap=cmap,norm=norm,alpha=alpha,edgecolors=edgecolor)
    5050                else:
    5151                        raise ValueError('plot_unit error: 3D element plot not supported yet')
Note: See TracChangeset for help on using the changeset viewer.