Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Oct 16th, 2012 30 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. #!/usr/bin/env python
  2.  
  3. import Gnuplot
  4.  
  5. gp = Gnuplot.Gnuplot()
  6.  
  7. years = range(2003, 2012)
  8. umsatz = [ 631, 638, 644, 636, 624, 601, 662, 666, 678 ]
  9. zuwendung = [ 416, 413, 412, 307, 308, 272, 283, 281, 289 ]
  10. ergebnis = [ -221, -101, 235, -23, -59, -246, -66, -78, -71 ]
  11.  
  12. gp.plot(Gnuplot.Data(years, umsatz, with_='linespoints'))
  13. gp.replot(Gnuplot.Data(years, zuwendung, with_='linespoints'))
  14. gp.hardcopy(filename='input.png', terminal='png')
  15. gp.plot(Gnuplot.Data(years, ergebnis, with_='linespoints'))
  16. gp.hardcopy(filename='ergebnis.png', terminal='png')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top