14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

77 TERMINAL <strong>gnuplot</strong> 4.3 159<br />

by six pixels off. More elaborate on/off patterns can be specified with a four-digit value. For example,<br />

’4441’ is four on, four off, four on, one off. The default values shown below are for monochrome displays<br />

or monochrome rendering on color or grayscale displays. For color displays, the default for each is 0<br />

(solid line) except for axisDashes which defaults to a ’16’ dotted line.<br />

<strong>gnuplot</strong>*borderDashes: 0<br />

<strong>gnuplot</strong>*axisDashes: 16<br />

<strong>gnuplot</strong>*line1Dashes: 0<br />

<strong>gnuplot</strong>*line2Dashes: 42<br />

<strong>gnuplot</strong>*line3Dashes: 13<br />

<strong>gnuplot</strong>*line4Dashes: 44<br />

<strong>gnuplot</strong>*line5Dashes: 15<br />

<strong>gnuplot</strong>*line6Dashes: 4441<br />

<strong>gnuplot</strong>*line7Dashes: 42<br />

<strong>gnuplot</strong>*line8Dashes: 13<br />

77.8 Cgi<br />

The cgi and hcgi terminal drivers support SCO CGI drivers. hcgi is for printers; the environment<br />

variable CGIPRNT must be set. cgi may be used for either a display or hardcopy; if the environment<br />

variable CGIDISP is set, then that display is used. Otherwise CGIPRNT is used.<br />

These terminals have no options.<br />

77.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 />

{font ","}<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 (see list of fonts below) is the size of<br />

the font in points (default 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.<br />

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!

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!