Ignore:
Timestamp:
09/24/12 18:23:56 (12 years ago)
Author:
cborstad
Message:

NEW: a couple more new plot options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_manager.py

    r13411 r13424  
    2424        if isinstance(data,(str,unicode)):
    2525
    26                 if data=='mesh': plot_mesh(md,options,nlines,ncols,i)
     26                # convert string to lower case for a case-insensitive comparison
     27                if data.lower()=='mesh': plot_mesh(md,options,nlines,ncols,i)
    2728                else:
    2829                        print "WARNING: '%s' is not implemented or is not a valid string for option 'data'" % data
    2930
     31        #elif data in vars(md):
    3032        else:
    3133                print "'data' not a string, plotting model properties yet to be implemented..."
    3234
     35       
Note: See TracChangeset for help on using the changeset viewer.