Changeset 486 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jun 12, 2015, 12:00:17 PM (10 years ago)
Author:
lfita
Message:

Changing number of x ticks on 'shad_contour'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r485 r486  
    40244024        plt.ylabel(variables_values(dimn[0])[0] + ' (' + units_lunits(dimyu) + ')')
    40254025
    4026     txpos = pretty_int(x.min(),x.max(),10)
    4027     typos = pretty_int(y.min(),y.max(),10)
     4026    txpos = pretty_int(x.min(),x.max(),5)
     4027    typos = pretty_int(y.min(),y.max(),5)
    40284028    txlabels = list(txpos)
    40294029    for i in range(len(txlabels)): txlabels[i] = str(txlabels[i])
Note: See TracChangeset for help on using the changeset viewer.