Last change
on this file since 941 was
923,
checked in by aslmd, 12 years ago
|
UTIL PYTHON planetoplot_v2
PPCLASS AND PPPLOT
- added global plot settings in pp() objects
- self is returned for each method to allow e.g. one-line get + attribution
- added labeling of 1D plots
- fine-tuning of plot appearance (e.g. vector key)
- corrected a problem with plotin (same object can be referred to all along)
- fixed meanarea for 1D requests
PP.PY
- no more -f for pp.py (files are simply given as arguments!)
- added missing options to pp.py
- nice informative header
PP_RELOAD.PY
- pp_reload.py can now change colorbars and 1D markers
EXAMPLES
- general update of examples + few additions
- added a nice example tide with mixed 2D+1D plots
|
-
Property svn:executable set to
*
|
File size:
516 bytes
|
Rev | Line | |
---|
[921] | 1 | #! /usr/bin/env python |
---|
| 2 | from ppclass import pp |
---|
| 3 | |
---|
| 4 | tpond = pp() |
---|
| 5 | tpond.file = "/home/aymeric/Big_Data/DATAPLOT/diagfired.nc" |
---|
| 6 | tpond.var = "temp" |
---|
| 7 | tpond.t = "0.5" |
---|
| 8 | tpond.x = "-180,180" |
---|
| 9 | tpond.y = "-90,90" |
---|
| 10 | tpond.verbose = True |
---|
| 11 | tpond.compute = "meanarea" |
---|
| 12 | tpond.superpose = True |
---|
[923] | 13 | tpond.label = "mean with ponderation by mesh area" |
---|
[921] | 14 | tpond.getplot(extraplot=1) |
---|
| 15 | |
---|
| 16 | tnormal = pp() |
---|
| 17 | tnormal << tpond |
---|
| 18 | tnormal.compute = "mean" |
---|
| 19 | tnormal.plotin = tpond |
---|
[923] | 20 | tnormal.label = "simple mean (kind of wrong)" |
---|
| 21 | tnormal.filename = "aire" |
---|
[921] | 22 | tnormal.getplot() |
---|
| 23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.