Ignore:
Timestamp:
Jun 4, 2013, 4:41:53 PM (13 years ago)
Author:
aslmd
Message:

UTIL PYTHON planetoplot_v2. Added rainbow spahetti plot based on an idea by Alizee. Simply set a colormap for a 1D plot and you get it. Also added in pp_reload (simple rainbow function in ppplot). Added also xmin and xmax capabilitiy. Fixed various bugs related to dummy axis, logarithmic axes. Removed time_counter from set_ppclass.txt it is useless in most cases.

Location:
trunk/UTIL/PYTHON/planetoplot_v2/examples
Files:
1 added
2 edited

Legend:

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

    r933 r977  
    22from ppclass import pp
    33
    4 les = pp(file="/home/aymeric/Big_Data/psfc_f18.nc",var="PSFC",y=["50,250"],x=["50","100"])
     4les = pp(file="/home/aymeric/Big_Data/LES_dd/psfc_f18.nc",var="PSFC",y=["50,250"],x=["50","100"])
    55les.verbose = True
    66les.getplot()
  • trunk/UTIL/PYTHON/planetoplot_v2/examples/meso_profile.py

    r960 r977  
    1111m.y = -5. # setting a fixed y value
    1212m.z = None # leaving z as a free dimension
    13 m.t = [6.,12.,18.,24.] # setting 4 fixed t values
     13m.t = [6.,9.,12.,15.,18.,21.,24.] # setting 4 fixed t values
    1414
    1515# define settings
     
    1717#m.verbose = True # making the programe verbose
    1818#m.out = "pdf" # output format
     19m.colorb = "spectral" # color cycle according to a color map
    1920
    2021# get data and make plot with default settings
     
    4849S.p[0].xlabel="Potential temperature (K)"
    4950S.filename = "meso_profile"
     51S.colorb = None # come back to default color cycle
    5052
    5153# make the plot
Note: See TracChangeset for help on using the changeset viewer.