Ignore:
Timestamp:
Aug 26, 2014, 6:06:26 PM (11 years ago)
Author:
aslmd
Message:

planetoplot. corrections to two examples scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/ppclass_additional/dynanalysis/eddyflux.py

    r1279 r1336  
    77#############################
    88ff = "diagfi.nc"
     9ff = "diagfi739139.nc"
    910tt = 240.
     11tt = 100000.
    1012#############################
    1113
     
    1618
    1719# coordinates
    18 press = pp(var="p",file="diagfi.nc",t=tt,x=0,y=0).getf()
     20press = pp(var="p",file=ff,t=tt,x=0,y=0).getf()
    1921lat = np.linspace(-90.,90.,up.shape[1])
    2022
     
    2931p.x = lat
    3032p.y = press/100.
    31 p.title = r"$\overline{u^\prime v^\prime}$"
     33#p.title = r'$\overline{u^\prime v^\prime}$'
     34p.title = ""
    3235p.xlabel = "Latitude"
    3336p.ylabel = "Pressure (mb)"
    34 p.units = r"$m^{2}s^{-2}$"
     37p.units = r'$m^{2}s^{-2}$'
    3538p.invert = True
    3639p.logy = True
     
    4043p.vmax = 7
    4144p.div = 28
    42 p.makesave(mode="jpg",filename="eddyflux")
     45p.makesave(mode="png",filename="eddyflux")
Note: See TracChangeset for help on using the changeset viewer.