|
|
Section Intro: Using Gnuplot
Using GnuplotSynopsis:Meta-HTML contains a few functions which make it easy to generate plots and graphs of data that you have available to you. The use of the functions requires `gnuplot', a copy-lefted graphing program widely available on the Internet (e.g., ftp://prep.ai.mit.edu/pub/gnu).
Using the
Some terminology common to Commands:
Create a GIF plot of the points in DATA, using STYLE (default 'boxes') and perhaps labelling the X and Y axes.
The output GIF will be stored in OUTPUT-FILE, or returned
directly to The default value for TITLE is "Unspecified Data Graph".
Possibilities for STYLE are:
Create a PostScript plot of the points in DATA, using STYLE (default 'boxes') and perhaps labelling the X and Y axes. The default value for TITLE is "Unspecified Data Graph".
This function returns the PostScript text necessary to produce
the graph itself -- the text could be passed to a PostScript
printer, or, one could use
Possibilities for STYLE are:
You pass in STREAM and an ALIST containing:
For now, see Call `gnuplot' to actually generate the plot from the data. The default output type is GIF (works with gnuplot 3.6 and greater).
Using the PostScript text in PS-DATA, create a GIF image suitable for display from a Web page. If FILENAME=FOO.GIF is specified, then the GIF image will be written to "foo.gif", and the function returns "true" if successful. If VARNAME=GIF-VAR is specified, then the GIF image will be placed into the binary variable "GIF-VAR", and the function returns "true" if successful. If neither FILENAME nor VARNAME is specified, the function writes the raw data of the GIF image as an HTML document to the standard output, and closes the standard output stream. This is to facilitate the creation of Web pages which produce GIF images as output.
Edit Section
![]() The META-HTML Reference Manual V2.0 Copyright © 1995, 1998, Brian J. Fox Found a bug? Send mail to bug-manual@metahtml.org |