GNUPlot Manual
GNUPlot Manual
GNUPlot Manual
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
104 gnuplot 4.0 36 SET-SHOW<br />
36.59.9 Cgm<br />
The cgm terminal generates a Computer Graphics Metafile, Version 1. This file format is a subset of<br />
the ANSI X3.122-1986 standard entitled "Computer Graphics - Metafile for the Storage and Transfer of<br />
Picture Description Information". Several options may be set in cgm.<br />
Syntax:<br />
set terminal cgm {} {} {} {solid | dashed}<br />
{width } {linewidth }<br />
{""} {}<br />
{ ...}<br />
where is landscape, portrait, or default; is either color or monochrome;<br />
is either rotate or norotate; solid draws all curves with solid lines, overriding any dashed<br />
patterns; is the assumed width of the plot in points; is the line width in<br />
points (default 1); is the name of a font; and is the size of the font in points (default<br />
12).<br />
By default, cgm uses rotated text for the Y axis label.<br />
The first six options can be in any order. Selecting default sets all options to their default values.<br />
Each color must be of the form ’xrrggbb’, where x is the literal character ’x’ and ’rrggbb’ are the red,<br />
green and blue components in hex. For example, ’x00ff00’ is green. The background color is set first,<br />
then the plotting colors. Examples:<br />
set terminal cgm landscape color rotate dashed width 432 \<br />
linewidth 1 ’Helvetica Bold’ 12 # defaults<br />
set terminal cgm linewidth 2 14 # wider lines & larger font<br />
set terminal cgm portrait "Times Italic" 12<br />
set terminal cgm color solid # no pesky dashes!<br />
36.59.9.1 Font The first part of a Computer Graphics Metafile, the metafile description, includes<br />
a font table. In the picture body, a font is designated by an index into this table. By default, this<br />
terminal generates a table with the following 35 fonts, plus six more with italic replaced by oblique,<br />
or vice-versa (since at least the Microsoft Office and Corel Draw CGM import filters treat italic and<br />
oblique as equivalent):