Graphing with Gnuplot and Xmgr

If you need to graph data, there are two packages available for Linux under X: Gnuplot and Xmgr.
Advanced Xmgr

Once it is in an internal set, the data can be manipulated in many ways. Sets may be edited, deleted, and saved. Arbitrary mathematical functions can be typed in to transform one set to another. Regression, sometime referred to as “curve-fitting”, can be done on a variety of standard curves—polynomial, logarithmic and exponential. Histograms can be created from sets with user-definable bin widths. Many other mathematical operations are supported. Individual data sets (as well as complete graphs) can be saved and loaded.

Xmgr also allows the user to define “regions” entered as polygons determined by mouse clicks. Data points within a region can be extracted from data sets into other data sets or removed from data sets. The regression options may also be set to operate only on the inside or outside of a particular region.

More Information

Gnuplot has its own Usenet newsgroup, The current version is 3.5. Gnuplot can be downloaded from Gnu ftp sites like and its mirrors.

The gnuplot 3.5 distribution comes with a tutorial written in LaTeX. The regular gnuplot documentation can be compiled into several different formats, one of which is the on-line help file. Other formats are a VMS .hlp file, a TeX document, nroff/troff format and an .rtf rich-text format. A man page is also provided, which talks about invocation options and X-resources that are used.

The current version of xmgr is 3.01. Xmgr has a home page located at FAQs, on-line documentation, source and binaries are there. Other pages still have some dangling pointers to the old xmgr home page at, where the mailing list is still hosted.

Andy Vaught ( is currently a graduate student in physics at Arizona State University and works part-time for Motorola. When not logged in, he enjoys bicycling, skiing and golf. He is also active in the civil air patrol.


Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot