---
name: "dgraph"
section: "1"
platform: "linux"
package: "radiance"
version: "4R1+20120125-1+b1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/dgraph"
---

# dgraph(1)

do a set of graphs to a dumb terminal

## NAME

dgraph - do a set of graphs to a dumb terminal

## SYNOPSIS

**dgraph** \[ **-w width** \]\[ **-l length** \]\[ **+variable value ..** \]\[ **file ..** \]

## DESCRIPTION

*Dgraph* reads each graph *file* in sequence and converts it to a character plot displayable on any ascii device. If no files are given, the standard input is read.

Across the top of the plot, the extrema are printed. This is the only indication of the axis size. Curves are represented with their respective letter ('A' for curve A, etc.) at each point. Where two or more curves cross, a number is shown instead.

The size of the output array can be specified as a certain *width* and *length.* The default size is 79 by 22.

Variables can be set explicitly with *+variable value* options. See [bgraph(1)](/bgraph/1.md) for details.

## EXAMPLE

To get a quick glimpse of the sine function from 0 to 4.

```
	dgraph
	A(x)=sin(x)
	Anpoints=100
	xmin=0
	xmax=4
	^D
```

## AUTHOR

Greg Ward

## BUGS

There is no mechanism provided for undefining a variable.

## SEE ALSO

[bgraph(1)](/bgraph/1.md), [gcomp(1)](/gcomp/1.md), [icalc(1)](/icalc/1.md), [igraph(1)](/igraph/1.md)
