Gnuplot with PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mag Gam

    #1

    Gnuplot with PHP

    Is it possible to use GNUPlot with PHP? I would like to get interactive
    plot ranges, instead of someone telling me the range of data, I would
    like to input start, finish in a text box, and have gnuplot, plot the
    data for me.

    TIA

  • Steve

    #2
    Re: Gnuplot with PHP

    On Wed, 04 Jan 2006 11:12:55 -0800, Mag Gam wrote:
    [color=blue]
    > Is it possible to use GNUPlot with PHP? I would like to get interactive
    > plot ranges, instead of someone telling me the range of data, I would
    > like to input start, finish in a text box, and have gnuplot, plot the
    > data for me.
    >
    > TIA[/color]

    I use pear::image_gra ph to generate the graph ( and pear::db to get it
    out of the database ) on
    http://www.diamondharbour.org.nz/Local%20Weather.html and it's pretty easy
    to use. Documentation isn't too hot though...

    Steve

    Comment

    • Viktor Bojoviæ

      #3
      Re: Gnuplot with PHP

      On 4 Jan 2006 11:12:55 -0800, Mag Gam wrote:
      [color=blue]
      > Is it possible to use GNUPlot with PHP? I would like to get interactive
      > plot ranges, instead of someone telling me the range of data, I would
      > like to input start, finish in a text box, and have gnuplot, plot the
      > data for me.
      >
      > TIA[/color]

      I am using it in cgi(linux shell - http://split.pmfst.hr). I think it can
      be used in php like I'm using povray
      system("povray fname.pov -O'fname.png' +H80 +W100");
      at:

      Comment

      Working...