Jump to content

Graph (Unix)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Rp (talk | contribs) at 12:00, 24 November 2018 (There was a reference to this, so I thought I'd research this and create a page for it. This utility is installed on hundreds of millions of computer worldwide. Adding publicly available references and examples of use would help establish notability.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In Unix, graph is a command-line utility used to draw plots from tabular data.

History

The graph utility, written by Douglas McIlroy, was present in the first version of Unix, and every later version, for instance:

Its output is a sequence of commands for the plot utility, which creates plots using ASCII graphics.

The GNU plotutils package provides a free non-exact reimplementation, available for Linux and many other systems. It can create plots in various graphics formats.

Usage

In its simplest use, the graph utility takes a textfile containing pairs of numbers, indicating the points of a line plot.

It outputs the line plot. Several options can be supplied to modify its behavior.

References

  1. ^ "graph". Unix v7 manual pages. Bell Labs. 1979. Retrieved Nov 24, 2018.
  2. ^ "graph". SunOS 5.10 manual pages. Sun Microsystems. 2005. Retrieved Nov 24, 2018.