Changeset 474 in lmdz_wrf for trunk/tools/drawing_tools.py


Ignore:
Timestamp:
Jun 10, 2015, 1:03:48 PM (9 years ago)
Author:
lfita
Message:

Fixing limits in 'plot_lines'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r473 r474  
    49904990        if maxd > ymax: ymax = maxd
    49914991
     4992    print 'x:',xmin,',',xmax,'y:',ymin,ymax
     4993
    49924994    plt.rc('text', usetex=True)
    49934995
     
    49995001        plt.xlabel(vtit + ' (' + vunit + ')')
    50005002        plt.ylabel(dtit)
    5001         plt.xlim(minv,maxv)
    5002         plt.ylim(mind,maxd)
     5003        plt.xlim(xmin,xmax)
     5004        plt.ylim(ymin,ymax)
    50035005
    50045006    else:
     
    50105012        plt.ylabel(vtit + ' (' + vunit + ')')
    50115013       
    5012         plt.xlim(mind,maxd)
    5013         plt.ylim(minv,maxv)
     5014        plt.xlim(ymin,ymax)
     5015        plt.ylim(xmin,xmax)
    50145016
    50155017    figname = 'lines'
Note: See TracChangeset for help on using the changeset viewer.