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


Ignore:
Timestamp:
Nov 21, 2014, 6:55:04 PM (10 years ago)
Author:
lfita
Message:

Adding non-checking of files in 'draw_lines'
Adding '|' character for spaces in title of 'draw_lines'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r192 r193  
    14831483        [leglabels]: ',' separated list of names for the legend
    14841484        [vartit]: name of the variable in the graph
    1485         [title]: title of the plot
     1485        [title]: title of the plot ('|' for spaces)
    14861486        [graphk]: kind of the graphic
    14871487      varname= variable to plot
     
    15031503    valuesaxis = values.split(':')[1]
    15041504    dimtit = values.split(':')[2]
    1505     leglabels = values.split(':')[3]
     1505    leglabels = values.split(':')[3].replace('_','\_')
    15061506    vartit = values.split(':')[4]
    1507     title = values.split(':')[5]
     1507    title = values.split(':')[5].replace('|',' ')
    15081508    graphk = values.split(':')[6]
    15091509
     
    22412241# Not checking file operation
    22422242Notcheckingfile = ['draw_2D_shad_cont', 'draw_2D_shad_cont_time',                    \
    2243   'draw_2D_shad_line', 'draw_2D_shad_line_time', 'draw_topo_geogrid_boxes',          \
    2244   'draw_trajectories', 'draw_vals_trajectories', 'variable_values']
     2243  'draw_2D_shad_line', 'draw_2D_shad_line_time', 'draw_lines',                       \
     2244  'draw_topo_geogrid_boxes', 'draw_trajectories', 'draw_vals_trajectories',          \
     2245  'variable_values']
    22452246
    22462247####### ###### ##### #### ### ## #
Note: See TracChangeset for help on using the changeset viewer.