source: issm/oecreview/Archive/14064-14311/ISSM-14275-14276.diff@ 14312

Last change on this file since 14312 was 14312, checked in by Mathieu Morlighem, 12 years ago

Added 14064-14311

File size: 507 bytes
RevLine 
[14312]1Index: ../trunk-jpl/src/m/plot/applyoptions.py
2===================================================================
3--- ../trunk-jpl/src/m/plot/applyoptions.py (revision 14275)
4+++ ../trunk-jpl/src/m/plot/applyoptions.py (revision 14276)
5@@ -142,7 +142,14 @@
6
7 #ShowBasins
8
9- #Caxis
10+ #clim {{{
11+ if options.exist('clim'):
12+ lims=options.getfieldvalue('clim')
13+ if len(lims)!=2:
14+ print 'WARNING: clim should be passed as a list of length 2'
15+ else:
16+ p.clim(lims[0],lims[1])
17+ #}}}
18
19 #shading
20
Note: See TracBrowser for help on using the repository browser.