Last change
on this file since 1219 was
1062,
checked in by aslmd, 12 years ago
|
planetoplot_v2. added trans back showcb attributes to ppclass. simplified example scripts. added the web home page example.
|
-
Property svn:executable set to
*
|
File size:
576 bytes
|
Line | |
---|
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" |
---|
10 | u.filename = "vector" |
---|
11 | |
---|
12 | # stride both x and y |
---|
13 | # this impacts field + vector |
---|
14 | u.sx = 3 |
---|
15 | u.sy = 3 |
---|
16 | u.getplot() |
---|
17 | u.sx = 1 # (reinitialise) |
---|
18 | u.sy = 1 # (reinitialise) |
---|
19 | |
---|
20 | # stride vectors only |
---|
21 | # not field (here topography) |
---|
22 | u.sx = 3 |
---|
23 | u.sy = 3 |
---|
24 | u.getplot() |
---|
25 | |
---|
26 | u.z = "50" |
---|
27 | u.filename = "myplot" |
---|
28 | u.getplot() |
---|
29 | |
---|
30 | u.colorbar = "jet" |
---|
31 | u.trans = 0.0 |
---|
32 | u.back = "vis" |
---|
33 | |
---|
34 | u.makeplot() |
---|
Note: See
TracBrowser
for help on using the repository browser.