Software Open Access

plt - Software for 2D Plots

Published Nov. 7, 2002 · Version 2.5
Please include the standard citation for PhysioNet:

Pollard, T., Moody, B. E., Lehman, L., Gow, B., Fernandes, C., Xie, C., Johnson, A., Mark, R. G., & Heldt, T. (2026). PhysioNet as a global platform for biomedical research. Nature Health. https://doi.org/10.1038/s44360-026-00096-z. Available from: https://pmc.ncbi.nlm.nih.gov/articles/PMC13641116/

Software Description

plt is a non-interactive plotting utility originally written for Unix by Paul Albrecht. plt can produce publication-quality 2D plots in PostScript from easily-produced text or binary data files, and can also create screen plots under the X Window System. Compared to most other software for 2D graphics, plt has several significant advantages:

  • plt generates compact vector PostScript output, which can be transmitted quickly yet can be resized without introducing raster artifacts.
  • plt works well with a wide variety of tools that create and manipulate readable text files.
  • plt is scriptable; if you need to make 100 plots of 100 data sets, you don't need to point and click for hours.
  • Complex overlays and multi-part plots are easy to make, using multiple invocations of plt to write to a single window or page.
  • plt can read data from a pipe, so it can be used to observe real-time signals or the outputs of computationally intensive processes as they become available.
  • plt imposes no fixed limits on the number of points in a plot (even the total amount of available memory is not a constraint if the data are read from a pipe and the axis limits are pre-specified).
  • plt is free, open-source software that can be modified as needed for unique applications. (plt runs on all popular platforms, including GNU/Linux, Mac OS X, MS-Windows, and Unix.)
  • plt is easy to pronounce (say: P-L-T) and is almost as easy to spell :-)

Sources for the current version of plt are available as a gzip-compressed tar archive, or as individual files in the source tree. A source RPM and a Linux (x86) binary RPM are also available, as are binaries for Mac OS X and MS-Windows. The plt Tutorial and Cookbook is available in HTML, printable PostScript and PDF formats, and in LaTeX source format.


Files

Access the files
Folder Navigation: <base>/plt-2.5a/classic
Name Size Modified
Parent Directory
demos
libc
00README (download) 1.7 KB 2019-04-12
Makefile (download) 4.6 KB 2019-04-12
axis.c (download) 10.6 KB 2019-04-12
axis.h (download) 2.0 KB 2019-04-12
data.c (download) 4.1 KB 2019-04-12
figs.h (download) 792 B 2019-04-12
figure.c (download) 6.3 KB 2019-04-12
go.c (download) 2.8 KB 2019-04-12
iface.c (download) 6.8 KB 2019-04-12
lw.c (download) 7.7 KB 2019-04-12
lwcat (download) 2.0 KB 2019-04-12
main.c (download) 2.6 KB 2019-04-12
mcd.c (download) 2.6 KB 2019-04-12
optn.c (download) 4.1 KB 2019-04-12
optn.h (download) 1.3 KB 2019-04-12
optn2.c (download) 11.4 KB 2019-04-12
optn3.c (download) 4.6 KB 2019-04-12
plot.c (download) 11.7 KB 2019-04-12
plot.h (download) 2.0 KB 2019-04-12
plt (download) 584 B 2019-04-12
plt.h (download) 3.3 KB 2019-04-12
pslw.pro (download) 3.0 KB 2019-04-12
pterm.c (download) 2.3 KB 2019-04-12
sun.c (download) 3.7 KB 2019-04-12
text.c (download) 9.5 KB 2019-04-12
text.h (download) 2.7 KB 2019-04-12
tic.c (download) 7.7 KB 2019-04-12
unixpl.c (download) 684 B 2019-04-12
util.c (download) 3.3 KB 2019-04-12
window.c (download) 3.8 KB 2019-04-12
xpltwin.c (download) 6.3 KB 2019-04-12
xw.c (download) 6.3 KB 2019-04-12