PGPLOT

PGPLOT is a device-independent graphics subroutine library written starting in 1983 by Tim Pearson, a professor at Caltech. PGPLOT is written mostly in FORTRAN with a modular output API that allows output to several dozen types of plotting device. PGPLOT has been widely used in the academic and scientific communities, because it provides both low-level (glyph, point, line, and area) plotting primitives and also high-level facilities for drawing graphs. PGPLOT may be redistributed to third parties and modified, but only in binary form. Neither the original nor modified source code are allowed to be redistributed.[1] The most recent version of PGPLOT is 5.2.2, released in February 2001, although third parties have written unofficial patches that include support for additional devices, 64 bit systems, and RGB (true color) plotting.

PGPLOT provides C and Fortran 77 interface. There are also several user-contributed bindings, such as C++, perl, python, ruby and tcl/tk.[2]

PGPLOT includes device-independent output to many devices including several types of image file, graphics display terminals and plotters, PostScript devices, and X Window. Interactive devices can be used to deliver numeric parameters to the controlling program via a graphics cursor. It is known to run on many operating systems, including most Unix-like systems, Mac OS, and Microsoft Windows.

In part because of its age, PGPLOT has several limitations compared to newer packages such as PLplot. In particular, PGPLOT supports only 8-bit indexed color graphics, and not full RGB color; and there is no clean way to render graphics directly to an array in program memory. The library PG2PLplot has been developed to aid the transition from PGPlot to PLplot in Fortran programs.[3]

Notes

gollark: That's a STUPID amount of partitions, why?
gollark: ++remind 8h happy birthday <@!196639050126327809> (margin for time zones)
gollark: Allegedly wxwidgets and qt and that python one ("kivy"?) and 102974198 others.
gollark: Those already exist. I mean that we need to obliterate Electron from reality utterly.
gollark: Macron?
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.