README.md
1# BSD plotutils
2
3Traditional plotting utilities and libraries taken from 4.3BSD with some improvements.
4Original libraries were written in C, but there are bindings to other languages:
5 * `py27plot` (Python 2.7)
6 * `f77plot` (FORTRAN 77)
7
8It's **not** compatible with old `libplot` due to conflicts with curses library, but if
9compatibility is really needed, there is a `plotcompat.h` header.
10
11## Overview
12`libplot` is library that implements plotting routines in device-independent manner.
13Except this, there are some other libraries (with `libplot` prefix, for example `libplot4014`) that implements routines in manner
14specific to appropiate device. Device-independent file format is described in `plot(5)` and can be translated to machine-dependent plotting routines
15(using `plot(1)`) and ASCII text (using `plottoa(1)`).
16`graph(1)` is utility that converts pairs of numbers from standard input to device-independent plotting routines.
17
18## Installation from source
19
20You need BSD make and makefile templates. If you have, just run:
21```
22# make && make install && make cleandir
23```
24as root. Default installation prefix is `/usr/local`.
25If some language bindings are not needed, remove right entries
26from Makefile in [libplot/bindings/](libplot/bindings/.) directory.
27
28## Installation from binaries
29
30Currently only **FreeBSD 11.2 amd64** packages are provided.
31Each release has *.txz file which is binary package. If you want to install, run:
32```
33pkg install <path_to_file.txz>
34```
35