manpagez: man pages & more
info gnuplot
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1.8 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; <mode> is ‘landscape‘, ‘portrait‘, or ‘default‘; <plot_width> is the assumed width of the plot in points; <line_width> is the line width in points (default 1); <fontname> is the name of a font (see list of fonts below) <fontsize> 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!


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on November 1, 2013 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.