Changeset 558 in lmdz_wrf for trunk/tools/drawing.py


Ignore:
Timestamp:
Jul 3, 2015, 4:18:55 PM (9 years ago)
Author:
lfita
Message:

Fixing `day' issue on 'CFtimes_plot'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r549 r558  
    19341934        mindvals = np.min(vdobj[:])
    19351935        maxdvals = np.max(vdobj[:])
     1936        dimt = len(vvobj[:])
    19361937
    19371938        if mindvals < mintval: mintval = mindvals
     
    19511952    timefmt = timevals.split('|')[3]
    19521953
    1953     dtvals = (maxtval - mintval)/5.
     1954    dtvals = (maxtval - mintval)/dimt
    19541955    tvals = np.arange(mintval, maxtval, dtvals/2.)
    19551956
Note: See TracChangeset for help on using the changeset viewer.