Ignore:
Timestamp:
Apr 19, 2013, 4:19:20 PM (12 years ago)
Author:
aslmd
Message:

UTIL PYTHON planetoplot_v2. units: set an additional column set_var.txt and put units over colorbar. 1D bounding and formatting. possible mode nothing. corrected bug coast/sea.

Location:
trunk/UTIL/PYTHON/planetoplot_v2/examples
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/anomaly.py

    r923 r933  
    1919anomaly.filename = "anomaly"
    2020anomaly.defineplot()
    21 anomaly.p[0].title = "surface temperature anomaly in %"
     21anomaly.p[0].title = "surface temperature anomaly"
     22anomaly.p[0].units = '%'
    2223anomaly.makeplot()
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/function.py

    r923 r933  
    2525S.p[0].ylabel = "Surface geopotential height (km)"
    2626S.p[0].ycoeff = 1./1000.
     27S.p[0].fmt = '%.0f'
    2728S.filename = "function"
    2829S.makeplot()
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/les_psfc.py

    r923 r933  
    1414les.y = None
    1515les.t = ["10"]
    16 les.stridex = 3
    17 les.stridey = 3
     16#les.stridex = 3
     17#les.stridey = 3
    1818les.filename = "les_psfc"
    1919les.getplot()
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/simple.py

    r923 r933  
    1919# we define the plot, then set a few personal stuff
    2020u.defineplot()
    21 u.p[0].title = "This is what we name $u$ (m s$^{-1}$)"
     21u.p[0].title = "This is what we name $u$"
    2222u.p[0].proj = "robin"
    2323u.filename = "simple"
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/windspeed.py

    r923 r933  
    99u.getdefineplot(extraplot=2) # prepare 2 extraplots (do not show)
    1010u.p[0].proj = "ortho"
    11 u.p[0].title = "$u$ (m s$^{-1}$)"
     11u.p[0].title = "$u$"
    1212u.makeplot()
    1313
     
    1919v.defineplot()
    2020v.p[1].proj = "ortho"
    21 v.p[1].title = "$v$ (m s$^{-1}$)"
     21v.p[1].title = "$v$"
    2222v.makeplot() # plot within the previous one (do not show)
    2323
     
    2727wind.filename = "windspeed"
    2828wind.defineplot()
    29 wind.p[2].title = "$\sqrt{u^2+v^2}$ (m s$^{-1}$)"
     29wind.p[2].title = "$\sqrt{u^2+v^2}$"
    3030wind.p[2].proj = "ortho"
    3131wind.makeplot() # plot within the previous one (show because complete)
Note: See TracChangeset for help on using the changeset viewer.