.TH XGRAPH 1 "December, 1989" .SH NAME xgraph \- Draw a graph on an X11 Display .SH SYNOPSIS .B xgraph [ options ] [[-geometry |=]WxH+X+Y ] [ -display host:display.screen ] [ file ... ] .SH DESCRIPTION The .I xgraph program draws a graph on an X display given data read from either data files or from standard input if no files are specified. It annotates the graph with a title, axis labels, grid lines or tick marks, grid labels, and a legend. There are options to control the appearance of most components of the graph. .PP The input format is similar to .I graph(1G) but differs slightly. The data consists of a number of .I "data sets." Data sets are separated by a blank line. A new data set is also assumed at the start of each input file. A data set consists of an ordered list of points of the form "{directive} X Y". The directive is either "draw" or "move" and can be omitted. If the directive is "draw", a line will be drawn between the previous point and the current point (if a line graph is chosen). Specifying a "move" directive tells xgraph not to draw a line between the points. If the directive is omitted, "draw" is assumed for all points in a data set except the first point where "move" is assumed. The "move" directive is used most often to allow discontinuous data in a data set. The name of a data set can be specified by enclosing the name in double quotes on a line by itself in the body of the data set. The trailing double quote is optional. Overall graphing options for the graph can be specified in data files by writing lines of the form "