Changeset 14276


Ignore:
Timestamp:
01/17/13 18:43:24 (12 years ago)
Author:
cborstad
Message:

NEW: clim is the python equivalent of caxis in matlab, though colorbar ylims don't follow yet

File:
1 edited

Legend:

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

    r14275 r14276  
    143143        #ShowBasins
    144144
    145         #Caxis
     145        #clim {{{
     146        if options.exist('clim'):
     147                lims=options.getfieldvalue('clim')
     148                if len(lims)!=2:
     149                        print 'WARNING: clim should be passed as a list of length 2'
     150                else:
     151                        p.clim(lims[0],lims[1])
     152        #}}}
    146153
    147154        #shading
Note: See TracChangeset for help on using the changeset viewer.