From: Nate G. <gel...@tr...> - 2003-10-29 00:58:46
|
Hello, I'm back on the graphing wagon, again. RedHat 7.3, python 2.2.3, gnuplot-3.7.3, gnuplot-py 1.7. g =3D Gnuplot.Gnuplot(debug=3D1) g('set data style lines') g('set terminal png color') g('set output \"%s\"' % outfile) g.title("Time vs Memory") g.xlabel("Time \(5min interval\)") g.ylabel("KBytes") [gelbardn@webster agent]$ ./Graph.py=20 gnuplot> set terminal x11 gnuplot> set data style lines gnuplot> set terminal png color gnuplot> set output "test.png" gnuplot> set title "Time vs Memory" gnuplot> set xlabel "Time \(5min interval\)" gnuplot> set ylabel "KBytes" gnuplot-py is calling 'set terminal x11' which is failing. I think it should be calling 'set terminal xlib' Did I setup gnuplot 3.7.3 incorrectly or should gnuplot-py be calling it with xlib instead of x11? I only configured gnuplot --with-png. [gelbardn@webster agent]$ ./Graph.py=20 gnuplot> set terminal x11 gnuplot> set data style lines gnuplot> set terminal png color gnuplot> set output "test.png" gnuplot> set title "Time vs Memory" gnuplot> set xlabel "Time \(5min interval\)" gnuplot> set ylabel "KBytes" gnuplot> set terminal x11 ^ line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list Thanks, --( Nate Gelbard, QA Engineer =20 --( Tripwire, Inc., The Integrity Assurance Company |