Gnuplot

From csml-wiki.northwestern.edu
Jump to navigation Jump to search

Overview

Gnuplot is a program for plotting scientific data. The resulting figures can be of very high quality, provided that attention is paid to detail. Impressive examples can be found on the [gnuplot homepage]. This page does not provide a detailed manual for gnuplot, but instead focuses on specific aspects typically accounted in the CSML when creating figures for manuscripts.

PDF terminal

The version of gnuplot installed on all local machines has been compiled with [PDFlib], which makes it possible to directly produce PDF images. Such figures offer the important advantage that they are fully scalable and yet have a small file size. Choose this terminal via

set term pdf enh

. Sometimes, fine-tuning of the resulting PDF figure is most conveniently done in Adobe Illustrator: it will make each component of the figure an object that you can move, resize, etc.

Enhanced PostScript terminal

Using symbols in labels

General usage tips