Rev | Line | |
---|
[14312] | 1 | Index: ../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.