source: trunk/UTIL/PYTHON/planetoplot_v2/examples/zonalcontour.py @ 943

Last change on this file since 943 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: 398 bytes
Line 
1#! /usr/bin/env python
2from ppclass import pp
3
4u = pp()
5u.file = "/home/aymeric/Big_Data/DATAPLOT/diagfired.nc"
6u.var = ["temp","u"]
7u.vargoal = ["main","contour"]
8u.x = "0"
9u.t = "0.5"
10u.filename = "zonalcontour"
11u.get()
12u.defineplot()
13u.p[0].div = 30.
14u.p[0].colorb = "spectral"
15u.makeplot()
16
17
18u.var = ["u","u"]
19u.vargoal = ["main","contour"]
20u.get()
21u.defineplot()
22u.p[0].div = 30.
23u.makeplot()
Note: See TracBrowser for help on using the repository browser.