Software Open Access

plt - Software for 2D Plots

George Moody

Published: Nov. 7, 2002. Version: 2.5

Please include the standard citation for PhysioNet: (show more options)
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.

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.


Access Policy:
Anyone can access the files, as long as they conform to the terms of the specified license.

License (for files):
Open Data Commons Attribution License v1.0

Corresponding Author
You must be logged in to view the contact information.


Total uncompressed size: 0 B.

Access the files
Folder Navigation: <base>/plt-2.5a/src
Name Size Modified
Parent Directory
00README (download) 1.6 KB 2019-04-12
Makefile (download) 6.2 KB 2019-04-12
axis.c (download) 12.5 KB 2019-04-12
data.c (download) 14.7 KB 2019-04-12
figure.c (download) 7.7 KB 2019-04-12
gvcat (download) 179 B 2019-04-12
gvcat.msw (download) 226 B 2019-04-12
lw.c (download) 12.8 KB 2019-04-12
lwcat (download) 8.7 KB 2019-04-12
main.c (download) 4.2 KB 2019-04-12
makeplthead.c (download) 2.5 KB 2019-04-12
option.c (download) 22.7 KB 2019-04-12
plot.c (download) 13.0 KB 2019-04-12
plt (download) 947 B 2019-04-12
plt.h (download) 14.2 KB 2019-04-12 (download) 3.1 KB 2019-04-12
pltpng (download) 1.0 KB 2019-04-12
pterm.c (download) 2.6 KB 2019-04-12
rgb.h (download) 19.3 KB 2019-04-12
text.c (download) 14.4 KB 2019-04-12
tick.c (download) 9.1 KB 2019-04-12
util.c (download) 6.3 KB 2019-04-12
window.c (download) 5.5 KB 2019-04-12
xpltwin.c (download) 9.6 KB 2019-04-12
xw.c (download) 26.7 KB 2019-04-12