source: trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_additional/tes.py @ 1054

Last change on this file since 1054 was 1050, checked in by aslmd, 11 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
2from ppclass import pp
3tes = pp()
4tes.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']
8tes.var='T_nadir_day'
9tes.x = "-180,180"
10tes.y = 60.
11tes.z = 50.
12tes.superpose = True
13tes.getdefineplot()
14tes.p[0].legend = "MY24"
15tes.p[1].legend = "MY25"
16tes.p[2].legend = "MY26"
17tes.makeplot()
Note: See TracBrowser for help on using the repository browser.