🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #54003

Re: Plotting a graph on a web page

#54003
From: Mark Heath
Date: Fri, 05 Dec 1997 00:00
22 lines
1289 bytes
Marcelo Cantos (marcelo@mds.rmit.edu.au) wrote:

: You could call gnuplot, but that's probably an expensive way to do it,
: since you would have to go through several stages to get to GIF.  I
: would suggest looking around for a GIF library for C.

If you're after a gif package for (in) C check out the netpbm utilities.

The PPM/PGM/PBM file formats are very simple to write but I dont know of 
many browsers which grok P[PGB]M.

At the very least you could pipe your output through ppmtogif (part of 
the netpbm package)

Hang on doesn't gnuplot produce ppm files??

--
-- mark heath - Unix System Programmer/Engineer - Netspace Online Systems.  
-- http://www.netspace.net.au/                        [Personal /~mheath]
-- Linux:      The only software that fixes all the problems with Windows
:wq
Technical Details
Message-ID: <667pgm$88t$2@otis.netspace.net.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34861FDC.7DA15CC@health.qld.gov.au> <87iut541wb.fsf@r34.citri.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,869b4db54275f178
X-Google-Attributes: gid102983,public
From: mheath@netspace.net.au (Mark Heath)
Subject: Re: Plotting a graph on a web page
Date: 1997/12/05
Message-ID: <667pgm$88t$2@otis.netspace.net.au>
X-Deja-AN: 295349565
References: <34861FDC.7DA15CC@health.qld.gov.au> <87iut541wb.fsf@r34.citri.edu.au>
Organization: A customer of Netspace Internet
Newsgroups: aus.computers.linux