GnuCash 2.4.99
simple_plot.py
00001 #!/usr/bin/env python
00002 """
00003 Example: simple line plot.
00004 Show how to make and save a simple line plot with labels, title and grid
00005 """
00006 from pylab import *
00007 
00008 figure()
00009 t = arange(0.0, 1.0+0.01, 0.01)
00010 s = cos(2*2*pi*t)
00011 plot(t, s, '-', lw=2)
00012 
00013 xlabel('time (s)')
00014 ylabel('voltage (mV)')
00015 title('About as simple as it gets, folks')
00016 grid(True)
00017 show()
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines