/[escript]/trunk/doc/examples/inversion/plot_ermapper.py
ViewVC logotype

Diff of /trunk/doc/examples/inversion/plot_ermapper.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4305 by caltinay, Mon Mar 11 00:40:09 2013 UTC revision 4306 by caltinay, Mon Mar 11 02:36:55 2013 UTC
# Line 104  x,y=np.meshgrid(longitude, latitude) Line 104  x,y=np.meshgrid(longitude, latitude)
104  plt.figure(figsize=(6*(spacingX*NX/(spacingY*NY))+1, 6), dpi=100)  plt.figure(figsize=(6*(spacingX*NX/(spacingY*NY))+1, 6), dpi=100)
105  plt.pcolor(x, y, DATA)  plt.pcolor(x, y, DATA)
106  locs,_=plt.xticks()  locs,_=plt.xticks()
107  plt.xticks(locs, map(lambda x:"%g"%x, locs))  plt.xticks(locs, list(map(lambda x:"%g"%x, locs)))
108  plt.xlabel(labelX)  plt.xlabel(labelX)
109  plt.ylabel(labelY)  plt.ylabel(labelY)
110  plt.axis('tight')  plt.axis('tight')

Legend:
Removed from v.4305  
changed lines
  Added in v.4306

  ViewVC Help
Powered by ViewVC 1.1.26