Changeset 1992 in lmdz_wrf for trunk/tools/generic_tools.py


Ignore:
Timestamp:
Jul 31, 2018, 5:55:53 PM (6 years ago)
Author:
lfita
Message:

Working example for create_LateX_figs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/generic_tools.py

    r1990 r1992  
    1343213432      kfig: kind of figure
    1343313433    """
     13434    import subprocess as sub
    1343413435    fname = 'create_LaTeX_figs'
    1343513436
     
    1352513526    print fname + ": LaTeX file '" + texfn + "' succesfully written !!"
    1352613527
    13527     sub.process('pdflatex ' + texfn.split('.')[0], shell=True)
    13528     sub.process('pdflatex ' + texfn.split('.')[0], shell=True)
    13529     sub.process('pdflatex ' + texfn.split('.')[0], shell=True)
     13528    sub.call('pdflatex ' + texfn.split('.')[0], shell=True)
     13529    sub.call('pdflatex ' + texfn.split('.')[0], shell=True)
     13530    sub.call('pdflatex ' + texfn.split('.')[0], shell=True)
    1353013531
    1353113532    return
    1353213533
    13533 #pltns = ['WindRose_', 'SkewT-logP_obs-sim_', 'SkewT-logP_']
     13534#pltns = ['WindRose_', 'SkewT-logP_obs_ta-tda', 'SkewT-logP_obs_evol', 'SkewT-logP_obs-sim_step', 'SkewT-logP_obs-sim_evol']
    1353413535#sts = ['10868', '16080', '16144', '16546']
    1353513536#create_LateX_figs('/home/lluis/estudios/FPS_ALPS/additional/IOP/analysis/figs', pltns, sts, 'png')
Note: See TracChangeset for help on using the changeset viewer.