• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

graph/H03-May-2022-859782

libplot/H09-Feb-2019-6,0713,876

plot/H09-Feb-2019-911797

scripts/H09-Feb-2019-85

spline/H09-Feb-2019-624482

LICENSEH A D09-Feb-20193.6 KiB6960

MakefileH A D09-Feb-201960 42

README.mdH A D09-Feb-20191.5 KiB3527

pkg-plistH A D03-May-20221.3 KiB6968

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