Revision: 7581
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7581&view=rev
Author: jswhit
Date: 2009-08-28 12:20:11 +0000 (Fri, 28 Aug 2009)
Log Message:
-----------
fix typo in comment
Modified Paths:
--------------
trunk/matplotlib/examples/pylab_examples/shading_example.py
Modified: trunk/matplotlib/examples/pylab_examples/shading_example.py
===================================================================
--- trunk/matplotlib/examples/pylab_examples/shading_example.py 2009-08-27
20:35:07 UTC (rev 7580)
+++ trunk/matplotlib/examples/pylab_examples/shading_example.py 2009-08-28
12:20:11 UTC (rev 7581)
@@ -4,14 +4,14 @@
# example showing how to make shaded relief plots
# like mathematica
-# (http://reference.wolfram.com/mathematica/ref/ReliefPlot.html )
+# (http://reference.wolfram.com/mathematica/ref/ReliefPlot.html)
# or Generic Mapping Tools
# (http://gmt.soest.hawaii.edu/gmt/doc/gmt/html/GMT_Docs/node145.html)
# test data
X,Y=np.mgrid[-5:5:0.05,-5:5:0.05]
Z=np.sqrt(X**2+Y**2)+np.sin(X**2+Y**2)
-# creat light source object.
+# create light source object.
ls = LightSource(azdeg=0,altdeg=65)
# shade data, creating an rgb array.
rgb = ls.shade(Z,plt.cm.copper)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins