Revision: 5692 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5692&view=rev Author: jdh2358 Date: 2008年06月27日 08:40:06 -0700 (2008年6月27日) Log Message: ----------- removing the copied files I accidentally added (sigh). It is confusing to put autogenerated files next to legit files in pyplot... Removed Paths: ------------- trunk/matplotlib/doc/pyplots/hline_demo.py Deleted: trunk/matplotlib/doc/pyplots/hline_demo.py =================================================================== --- trunk/matplotlib/doc/pyplots/hline_demo.py 2008年06月27日 15:39:28 UTC (rev 5691) +++ trunk/matplotlib/doc/pyplots/hline_demo.py 2008年06月27日 15:40:06 UTC (rev 5692) @@ -1,23 +0,0 @@ -#!/usr/bin/env python -import numpy as np -import matplotlib.pyplot as plt - -def f(t): - s1 = np.sin(2*np.pi*t) - e1 = np.exp(-t) - return np.absolute((s1*e1))+.05 - - -t = np.arange(0.0, 5.0, 0.1) -s = f(t) -nse = np.random.normal(0.0, 0.3, t.shape) * s - - -plt.plot(s+nse, t, 'b^') -plt.hlines(t, [0], s, lw=2) -plt.xlabel('time (s)') -plt.title('Comparison of model with data') -plt.savefig('test') -plt.xlim(xmin=0) -plt.show() - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.