NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

Changeset 526

Show
Ignore:
Timestamp:
02/03/14 16:13:27
Author:
cbc
Message:

Mask default pcolor plot labels.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • proc2plot/trunk/proc2plot/billymitchell_sodar_plot.py

    r525 r526  
    195195    wm = numpy.ma.masked_where(numpy.isnan(ww), ww) 
    196196    pc = ax.pcolor(dn, z, wm.T, vmin=cmin, vmax=cmax) 
     197    pc.set_label(' ') # blank out default "collection0" label 
    197198    ax.text(0.025, 0.1, pc.get_label(), fontsize="small", transform=ax.transAxes) 
    198199    ax.set_ylabel('Height (m)') 
     
    237238    sm = numpy.ma.masked_where(numpy.isnan(sigw), sigw) 
    238239    pc = ax.pcolor(dn, z, sm.T, vmin=cmin, vmax=cmax) 
     240    pc.set_label(' ') # blank out default "collection0" label 
    239241    ax.text(0.025, 0.1, pc.get_label(), fontsize="small", transform=ax.transAxes) 
    240242    ax.set_ylabel('Height (m)') 
     
    282284    pc = ax.pcolor(dn, z, em.T, vmin=cmin, vmax=cmax) 
    283285    # pc = ax.pcolor(dn, z, em.T) 
     286    pc.set_label(' ') # blank out default "collection0" label 
    284287    ax.text(0.025, 0.1, pc.get_label(), fontsize="small", transform=ax.transAxes) 
    285288    ax.set_ylabel('Height (m)')