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


Ignore:
Timestamp:
May 20, 2015, 2:51:48 PM (10 years ago)
Author:
lfita
Message:

Changing title and dx,dy dimensions on 'plot_Trajectories'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r396 r422  
    20702070      values=[leglabels]|[lonlatlims]|[title]|[graphk]|[mapkind]
    20712071        [leglabels]: ',' separated list of names for the legend
    2072         [lonlatlims]: limits of the map [lonmin, latmin, lonmax, latmax] or None
    2073         [title]: title of the plot
     2072        [lonlatlims]: ',' list of limits of the map [lonmin, latmin, lonmax, latmax] or None
     2073        [title]: title of the plot ('!' for spaces)
    20742074        [graphk]: kind of the graphic
    20752075        [mapkind]: drawing coastaline ([proj],[res]) or None
     
    20972097        quit()
    20982098
     2099    expectargs = '[leglabels]|[lonlatlims]|[title]|[graphk]|[mapkind]'
     2100 
     2101    drw.check_arguments(fname,len(expectargs.split('|')),values,'|',expectargs)
     2102
    20992103    trjfiles = trjfilens.split(',')
    21002104    leglabels = values.split('|')[0]
    21012105    lonlatlims = values.split('|')[1]
    2102     title = values.split('|')[2]
     2106    title = values.split('|')[2].replace('!',' ')
    21032107    graphk = values.split('|')[3]
    21042108    mapkind = values.split('|')[4]
Note: See TracChangeset for help on using the changeset viewer.