Changeset 788 in lmdz_wrf


Ignore:
Timestamp:
May 30, 2016, 12:37:29 PM (9 years ago)
Author:
lfita
Message:

Adding 'stationssize' argument for the size of the labels of the stations in `plot_river_pattern'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing_tools.py

    r787 r788  
    64006400def plot_river_pattern(xvals, yvals, fvals, veccolor, descid, desclon, desclat,      \
    64016401  stn, stlon, stlat, drawcountry, drawbasinid, colordescid, coloriver, colornoriver, \
    6402   colorst, graphtit, mapv, kfig, figname):
     6402  colorst, stsize, graphtit, mapv, kfig, figname):
    64036403    """ Function to plot vectors
    64046404      xvals= values for the x-axis
     
    66046604                stname  = stname + stn[ist,ic]
    66056605#            plt.annotate(stname, xy=(stlon[ist],stlat[ist]), color=colorst, )
    6606             plt.text(stlon[ist], stlat[ist], stname, color=colorst, fontsize=3)
     6606            plt.text(stlon[ist], stlat[ist], stname, color=colorst, fontsize=stsize)
    66076607
    66086608#    cbar = plt.colorbar()
Note: See TracChangeset for help on using the changeset viewer.