Changeset 3083


Ignore:
Timestamp:
Jun 5, 2006, 3:58:06 PM (18 years ago)
Author:
sexton
Message:

legend now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pyvolution/util.py

    r3080 r3083  
    831831            if verbose: print '\n Latex output printed to %s \n' %texfilename
    832832            fid = open(texfilename, 'w')
     833            leg_label = []
     834            for label_id in production_dirs.keys():
     835                leg_label.append(production_dirs[label_id])
    833836    else:
    834837        texfile = ''
     
    979982                xlabel('time (mins)')
    980983                ylabel('%s (%s)' %(which_quantity, units))
    981                 #legend(production_dirs[label_id[j]],loc='upper right')
     984                legend((leg_label),loc='upper right')
    982985
    983986                gaugeloc1 = gaugeloc.replace(' ','')
Note: See TracChangeset for help on using the changeset viewer.