November 24, 2010

Draw Pie Chart with Gnuplot

I reused posts from gnuplotter and wrote a php script to plot pies with gnuplot.

https://github.com/ylon/gnuplot-pie

needed
  • php 5.3.2
  • gnuplot 4.4
  • /usr/bin/gnuplot should exists
output format
  • pngcairo
  • epslatex - you can then add it in a latex document with \input{pie.tex}


2 comments:

Anonymous said...

Good stuff, works like a charm! Exactly what i was looking for, thanks a bunch :-)

Gaurav said...

Thanks for this piece of code.