Changeset 2594 in lmdz_wrf


Ignore:
Timestamp:
Jun 4, 2019, 3:40:07 PM (5 years ago)
Author:
lfita
Message:

Enlarging `pointkindsauto'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r2593 r2594  
    124124  (0.25, 0.25, 0., 1.), (0.25, 0., 0.25, 1.), (0., 0.25, 0.25, 1.)]
    125125pointkindsauto = ['.', 'x', '+', '*', '|', '_', '1', '2', '3', '4', 'o', '<', '>',   \
    126   'v', '^', 's', 'D', 'p' ,'h' ,'H']
     126  'v', '^', 's', 'D', 'p' ,'h' ,'H', '8', 'd', 'P', 'X' ] + range(11)
    127127
    128128linekindsauto = ['-', '--', '-.', ':']
     
    27892789
    27902790
    2791     return colorv
     2791    return colorvc
    27922792
    27932793def output_kind(kindf, namef, close):
     
    28242824            if close: print "Successfully generation of figure '" + namef + ".pdf' !!!"
    28252825        elif kindf == 'png':
    2826             plt.savefig(namef + ".pdf")
    2827             sub.call('convert -trim -density 300 ' + namef + '.pdf -quality 90 '+   \
    2828               namef+'.png', shell=True)
    2829             sub.call('rm ' + namef + '.pdf', shell=True)
     2826            plt.savefig(namef + ".png")
     2827#            plt.savefig(namef + ".pdf")
     2828#            sub.call('convert -trim -density 300 ' + namef + '.pdf -quality 90 '+   \
     2829#              namef+'.png', shell=True)
     2830#            sub.call('rm ' + namef + '.pdf', shell=True)
    28302831            if close: print "Successfully generation of figure '" + namef + ".png' !!!"
    28312832        elif kindf == 'ps':
Note: See TracChangeset for help on using the changeset viewer.