Changeset 984 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Aug 9, 2016, 11:25:10 AM (8 years ago)
Author:
lfita
Message:

Fixing explanation of `freqv' in 'draw_lines'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r983 r984  
    16811681        [lwdths]= ',' list of withs of lines ('None' for automatic, single value for all the same)
    16821682        [psizes]= ',' list of size of points ('None' for automatic, single value for all the same)
    1683         [freqv]= frequency of values
     1683        [freqv]= frequency of values ('all' for all values)
    16841684        [figname]= name of the figure
    16851685        [graphk]: kind of the graphic
     
    17121712    lwdths = str_list(values.split(':')[10], ',')
    17131713    psizes = str_list(values.split(':')[11], ',')
    1714     freqv = values.split(':')[12]
     1714    freqv0 = values.split(':')[12]
    17151715    figname = values.split(':')[13]
    17161716    graphk = values.split(':')[14]
     
    17871787
    17881788        ifn = ifn + 1
     1789
     1790    if freqv0 == 'all':
     1791        freqv = None
     1792    else:
     1793        freqv = int(freqv0)
    17891794
    17901795    drw.plot_lines(dimvalues, varvalues, valuesaxis, dimtit, leglabels.split(','),   \
Note: See TracChangeset for help on using the changeset viewer.