Changeset 580 for trunk


Ignore:
Timestamp:
Mar 14, 2012, 10:45:39 AM (13 years ago)
Author:
acolaitis
Message:

Python. Minor bug correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot.py

    r579 r580  
    7575                       fmtvar,definecolorvec,defcolorb,getprefix,putpoints,calculate_bounds,errormess,definesubplot,\
    7676                       zoomset,getcoorddef,getwinddef,whatkindfile,reducefield,bounds,getstralt,getfield,smooth,nolow,\
    77                        getname,localtime,check_localtime,polarinterv,getsindex,define_axis,determineplot,readslices,bidimfind,getlschar,hole_bounds
     77                       getname,localtime,check_localtime,polarinterv,getsindex,define_axis,determineplot,readslices,bidimfind,getlschar,hole_bounds,windamplitude
    7878    from mymath import deg,max,min,mean,get_tsat,writeascii,fig2data,fig2img
    7979    import matplotlib as mpl
     
    613613       if mult != 1:                         plottitle = '{:.0e}'.format(mult) + "*" + plottitle
    614614       if zetitle[0] != "fill":                 
    615           plottitle = zetitle[index_f]
     615          if index_f < len(zetitle): plottitle = zetitle[index_f]
     616          else: plottitle = zetitle[0]
    616617          if titleref is "fill":             titleref=zetitle[index_f]
    617618          if fileref is not None:
Note: See TracChangeset for help on using the changeset viewer.