Changeset 1153 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Oct 6, 2016, 6:58:51 PM (9 years ago)
Author:
lfita
Message:

Including units of the axis in `Nlines'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/model_graphics.py

    r1148 r1153  
    19641964            if gen.searchInlist(dplot[0],'lon'):
    19651965                spacedim ='lon'
     1966                sdlab ='lon ($degrees\ East$)'
    19661967                axisvals = 'y'
    19671968                figmid = 'longitudinal'
    19681969            elif gen.searchInlist(dplot[0],'lat'):
    19691970                spacedim = 'lat'
     1971                sdlab = 'lat ($degrees\ North$)'
    19701972                axisvals = 'x'
    19711973                figmid = 'meridional'
    19721974            elif gen.searchInlist(dplot[0],'pres'):
    19731975                spacedim = 'pres'
     1976                sdlab = 'pres ($Pa$)'
    19741977                axisvals = 'x'
    19751978                figmid = 'vertical'
     
    19861989            leglabels = ','.join(lablines)
    19871990
    1988             graphvals = spacedim + ':' + axisvals + ':' + spacedim + ':' +           \
    1989               leglabels + ':' + CFvplot[0] + ':' + figtit + ':0:' + lines + ':' +    \
    1990               kinds + ':' + marks +':'+ sizes +':'+ sizes + ':all:' +                \
    1991               finame.replace('.'+kfig, '') + ':' + kfig
     1991            graphvals = spacedim + ':' + axisvals + ':' + sdlab + ':' + leglabels +  \
     1992              ':' + CFvplot[0] + ':' + figtit + ':0:' + lines + ':' + kinds + ':' +  \
     1993              marks +':'+ sizes +':'+ sizes +':all:'+ finame.replace('.'+kfig, '') + \
     1994              ':' + kfig
    19921995
    19931996            fvarS = vplot[0]
     
    27722775                if values[1] != 'none':
    27732776                    diffs = gen.stringList_dictKeysVals(values[1])
    2774                     print fname + '; Lluis', difffile, ' diffs:', diffs
    2775                     quit()
    27762777                else:
    27772778                    diffs = {}
     
    41214122                      vnopS + "' !!"
    41224123                modexpvals = allvarcomp[vnopS]
     4124#                modexpvalsS = allvarcomp[vnopS]
     4125#                modexpvals = modexpvalsS[0].split('|')
    41234126                Nmodexps = len(modexpvals)
    41244127
Note: See TracChangeset for help on using the changeset viewer.