1 |
greg |
1.3 |
.\" RCSid "$Id: dgraph.1,v 1.2 2003/12/09 15:59:06 greg Exp $" |
2 |
greg |
1.1 |
.TH DGRAPH 1 6/24/98 RADIANCE |
3 |
|
|
.SH NAME |
4 |
|
|
dgraph - do a set of graphs to a dumb terminal |
5 |
|
|
.SH SYNOPSIS |
6 |
|
|
.B dgraph |
7 |
|
|
[ |
8 |
|
|
.B -w width |
9 |
|
|
][ |
10 |
|
|
.B -l length |
11 |
|
|
][ |
12 |
|
|
.B +variable value .. |
13 |
|
|
][ |
14 |
|
|
.B file .. |
15 |
|
|
] |
16 |
|
|
.SH DESCRIPTION |
17 |
|
|
.I Dgraph |
18 |
|
|
reads each graph |
19 |
|
|
.I file |
20 |
|
|
in sequence and converts it to a character plot |
21 |
|
|
displayable on any ascii device. |
22 |
|
|
If no files are given, the standard input is read. |
23 |
|
|
.PP |
24 |
|
|
Across the top of the plot, the extrema are printed. |
25 |
|
|
This is the only indication of the axis size. |
26 |
|
|
Curves are represented with their respective letter ('A' for |
27 |
|
|
curve A, etc.) at each point. |
28 |
|
|
Where two or more curves cross, a number is shown instead. |
29 |
|
|
.PP |
30 |
|
|
The size of the output array can be specified as a |
31 |
|
|
certain |
32 |
|
|
.I width |
33 |
|
|
and |
34 |
|
|
.I length. |
35 |
|
|
The default size is 79 by 22. |
36 |
|
|
.PP |
37 |
|
|
Variables can be set explicitly with |
38 |
|
|
.I +variable value |
39 |
|
|
options. |
40 |
|
|
See bgraph(1) for details. |
41 |
|
|
.SH EXAMPLE |
42 |
|
|
To get a quick glimpse of the sine function from 0 to 4. |
43 |
|
|
.nf |
44 |
|
|
dgraph |
45 |
|
|
A(x)=sin(x) |
46 |
|
|
Anpoints=100 |
47 |
|
|
xmin=0 |
48 |
|
|
xmax=4 |
49 |
|
|
^D |
50 |
|
|
.fi |
51 |
|
|
.SH AUTHOR |
52 |
|
|
Greg Ward |
53 |
|
|
.SH BUGS |
54 |
|
|
There is no mechanism provided for undefining a variable. |
55 |
|
|
.SH "SEE ALSO" |
56 |
greg |
1.3 |
bgraph(1), gcomp(1), icalc(1), igraph(1) |