Cgm

The cgm terminal generates a Computer Graphics Metafile, Version 1. This file format is a subset of the ANSI X3.122-1986 standard entitled "Computer Graphics - Metafile for the Storage and Transfer of Picture Description Information".

Syntax:

     set terminal cgm {color | monochrome} {solid | dashed} {{no}rotate}
                      {<mode>} {width <plot_width>} {linewidth <line_width>}
                      {font "<fontname>,<fontsize>"}
                      {background <rgb_color>}
 [deprecated]         {<color0> <color1> <color2> ...}

solid draws all curves with solid lines, overriding any dashed patterns; 4#4mode5#5 is landscape, portrait, or default; 4#4plot_width5#5 is the assumed width of the plot in points; 4#4line_width5#5 is the line width in points (default 1); 4#4fontname5#5 is the name of a font (see list of fonts below) 4#4fontsize5#5 is the size of the font in points (default 12).

The first six options can be in any order. Selecting default sets all options to their default values.

The mechanism of setting line colors in the set term command is deprecated. Instead you should set the background using a separate keyword and set the line colors using set linetype. The deprecated mechanism accepted colors of the form 'xrrggbb', where x is the literal character 'x' and 'rrggbb' are the red, green and blue components in hex. The first color was used for the background, subsequent colors are assigned to successive line types.

Examples:

     set terminal cgm landscape color rotate dashed width 432 \
                    linewidth 1  'Helvetica Bold' 12       # defaults
     set terminal cgm linewidth 2  14  # wider lines & larger font
     set terminal cgm portrait "Times Italic" 12
     set terminal cgm color solid      # no pesky dashes!


Subsections