Changeset 401


Ignore:
Timestamp:
Nov 21, 2011, 11:20:36 AM (13 years ago)
Author:
acolaitis
Message:

PYTHON. Minor bug corrected: tile mod now correctly works with map projections (ortho,spstere,npstere...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot.py

    r399 r401  
    357357                 else:
    358358                     if hole:  what_I_plot = nolow(what_I_plot)
    359                      pcolor( x, y, what_I_plot, cmap = palette, vmin=zevmin, vmax=zevmax )
     359                     if mapmode == 1:
     360                        m.pcolor( x, y, what_I_plot, cmap = palette, vmin=zevmin, vmax=zevmax )
     361                     elif mapmode == 0:
     362                        pcolor( x, y, what_I_plot, cmap = palette, vmin=zevmin, vmax=zevmax )
     363
    360364                 if colorb != 'nobar' and varname != 'HGT' :       
    361365                     if (fileref is not None) and (index_f is numplot-1):
Note: See TracChangeset for help on using the changeset viewer.