• R/O
  • SSH

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

File Info

Révision 35d607974984755ef330809d30ef567678eb0842
Taille 314 octets
l'heure 2007-06-28 18:05:26
Auteur iselllo
Message de Log

I added the code Python-codes/py_gnuplot.py. It shows how to use the
Gnuplot.py package to interface to Gnuplot from python and use it for
your plots.

Content

#! /usr/bin/env python
import Gnuplot as gp
g = gp.Gnuplot(debug=1)
g ("reset")
g ("set xrange [-2:2]")
g ("set yrange [-2:2]")
g ("set pm3d")
g ("set terminal postscript eps enhanced color")
g ("splot exp(-x*x)*exp(-y*y)")
g ("set output 'new_plot.ps'")
g ("replot")
g ("set terminal x11")

print 'So far so good'