Last change
on this file since 923 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:
452 bytes
|
Rev | Line | |
---|
[910] | 1 | #! /usr/bin/env python |
---|
| 2 | from ppclass import pp |
---|
| 3 | |
---|
| 4 | u = pp() |
---|
| 5 | u.file = "/home/aymeric/Big_Data/DATAPLOT/diagfired.nc" |
---|
| 6 | u.var = ["temp","phisinit","u","v"] |
---|
| 7 | u.vargoal = ["main","contour","vector","vector"] |
---|
| 8 | u.t = "0.5,0.8" |
---|
| 9 | u.z = "50000" |
---|
[923] | 10 | u.filename = "vector" |
---|
[910] | 11 | u.get() |
---|
| 12 | u.defineplot() |
---|
| 13 | #u.p[0].proj = "ortho" |
---|
| 14 | #u.p[0].blat = -45. |
---|
| 15 | u.makeplot() |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | u.z = "50" |
---|
[923] | 19 | u.filename = "myplot" |
---|
[910] | 20 | u.getplot() |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | u.p[0].colorb = "jet" |
---|
| 24 | u.p[0].trans = 0.0 |
---|
| 25 | u.p[0].back = "vis" |
---|
| 26 | |
---|
| 27 | u.makeplot() |
---|
Note: See
TracBrowser
for help on using the repository browser.