General discussion

  • Creator
    Topic
  • #2081350

    command-line web-compatible graph / imag

    Locked

    by jasonu ·

    I am looking for a free, command-line utility that creates images using data from standard input or from a file. I want to create a graph, including labels, from data generated by another script and include that graph in a webpage. If there’s a tool to do this that comes standard with *nix, let me know what it is, please. If there isn’t point me in the right direction. (I already looked into graph, but it won’t do labels, that I can see.)

All Comments

  • Author
    Replies
    • #3898617

      command-line web-compatible graph / imag

      by m42 ·

      In reply to command-line web-compatible graph / imag

      If you want to publish the resulting graph in a Web page i suggest using PHP3 to do the job… it has a lot of functions for importing and parsing files and for generating “on-the-fly” images.

      • #3766798

        command-line web-compatible graph / imag

        by jasonu ·

        In reply to command-line web-compatible graph / imag

        I was specifically looking for a command-line utility because I wasn’t allowed to install PHP on my client’s Mac OS X Server.

    • #3767069

      command-line web-compatible graph / imag

      by smn ·

      In reply to command-line web-compatible graph / imag

      depending on the input data and the exact graph you want to produce, gnuplot ( http://www.gnuplot.org/ ) may do – perhaps only part – of the job. for additional tweaking, the ImageMagick collection of command-line utilities ( http://www.wizards.dupont.com/cristy/ImageMagick.html ) is a very powerful set of tools. there is also an interface to Perl ( Image::Magick ), so you can do all sorts of automated processing.
      alternatively, the GD module (for this and other graphics stuff for Perl, see http://search.cpan.org/Catalog/Graphics/ ) provides GIF image editing in Perl.

      • #3766799

        command-line web-compatible graph / imag

        by jasonu ·

        In reply to command-line web-compatible graph / imag

        It sounds like this info would be useful. Alas, I’m no longer on contract with the client needing these things, so I won’t be able to give your advice a good “run for its money.”

Viewing 1 reply thread