|
Last change
on this file since 1247 was
1050,
checked in by aslmd, 12 years ago
|
|
UTIL PYTHON planetoplot_v2
RENAMED VARIABLES TO BE SIMPLER or COMPLIANT WITH MATPLOTLIB
colorb >> colorbar
lstyle >> linestyle
label >> legend
stridevecx >> svx
stridevecy >> svy
stridex >> sx
stridey >> sy
stridez >> sz
stridet >> st
(in ppplot only)
field >> f
absc >> x
ordi >> y
addvecx >> vx
addvecy >> vy
addontour >> c
ALSO added (same reason of compatibility)
- the possibility to call ppplot.show() as in matplotlib
- a shortcut method for a ppplot object: the so-called .makeshow()
|
-
Property svn:executable set to
*
|
|
File size:
467 bytes
|
| Line | |
|---|
| 1 | #! /usr/bin/env python |
|---|
| 2 | from ppclass import pp |
|---|
| 3 | tes = pp() |
|---|
| 4 | tes.file = [\ |
|---|
| 5 | '/home/aymeric/Big_Data/tes/TES.MappedClimatology.nadir.MY24.nc',\ |
|---|
| 6 | '/home/aymeric/Big_Data/tes/TES.MappedClimatology.nadir.MY25.nc',\ |
|---|
| 7 | '/home/aymeric/Big_Data/tes/TES.MappedClimatology.nadir.MY26.nc'] |
|---|
| 8 | tes.var='T_nadir_day' |
|---|
| 9 | tes.x = "-180,180" |
|---|
| 10 | tes.y = 60. |
|---|
| 11 | tes.z = 50. |
|---|
| 12 | tes.superpose = True |
|---|
| 13 | tes.getdefineplot() |
|---|
| 14 | tes.p[0].legend = "MY24" |
|---|
| 15 | tes.p[1].legend = "MY25" |
|---|
| 16 | tes.p[2].legend = "MY26" |
|---|
| 17 | tes.makeplot() |
|---|
Note: See
TracBrowser
for help on using the repository browser.