Changeset 1189 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Oct 17, 2016, 3:53:32 PM (8 years ago)
Author:
lfita
Message:

Replacing variable in `plot_2D_shadow' to the axes format values in pretty_int for longitudes and latitudes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r1160 r1189  
    1 # -*- coding: iso-8859-15 -*-
     1 -*- coding: iso-8859-15 -*-
    22#import pylab as plt
    33# From http://stackoverflow.com/questions/13336823/matplotlib-python-error
     
    42004200            m.drawcoastlines()
    42014201
    4202         meridians = pretty_int(nlon,xlon,Ndimx)
     4202        meridians = pretty_int(nlon,xlon,xaxv[2])
    42034203        m.drawmeridians(meridians,labels=[True,False,False,True])
    4204         parallels = pretty_int(nlat,xlat,Ndimy)
     4204        parallels = pretty_int(nlat,xlat,yaxv[2])
    42054205        m.drawparallels(parallels,labels=[False,True,True,False])
    42064206
Note: See TracChangeset for help on using the changeset viewer.