Revision: 6979
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6979&view=rev
Author: jswhit
Date: 2009-03-14 23:44:09 +0000 (Sat, 14 Mar 2009)
Log Message:
-----------
change sun elevation angle.
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-03-14 13:54:37 UTC (rev 6978)
+++ trunk/matplotlib/examples/pylab_examples/shading_example.py 2009-03-14 23:44:09 UTC (rev 6979)
@@ -12,7 +12,7 @@
X,Y=np.mgrid[-5:5:0.1,-5:5:0.1]
Z=X+np.sin(X**2+Y**2)
# creat light source object.
-ls = lightsource(azdeg=270,altdeg=20)
+ls = lightsource(azdeg=270,altdeg=60)
# shade data, creating an rgb array.
rgb = ls.shade(Z,plt.cm.copper)
# plot un-shaded and shaded images.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|