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 203<br />

77.76.4 Color resources<br />

For color displays, <strong>gnuplot</strong> honors the following resources (shown here with their default values) or the<br />

greyscale resources. The values may be color names as listed in the X11 rgb.txt file on your system,<br />

hexadecimal RGB color specifications (see X11 <strong>documentation</strong>), or a color name followed by a comma<br />

and an intensity value from 0 to 1. For example, blue, 0.5 means a half intensity blue.<br />

<strong>gnuplot</strong>*background: white<br />

<strong>gnuplot</strong>*textColor: black<br />

<strong>gnuplot</strong>*borderColor: black<br />

<strong>gnuplot</strong>*axisColor: black<br />

<strong>gnuplot</strong>*line1Color: red<br />

<strong>gnuplot</strong>*line2Color: green<br />

<strong>gnuplot</strong>*line3Color: blue<br />

<strong>gnuplot</strong>*line4Color: magenta<br />

<strong>gnuplot</strong>*line5Color: cyan<br />

<strong>gnuplot</strong>*line6Color: sienna<br />

<strong>gnuplot</strong>*line7Color: orange<br />

<strong>gnuplot</strong>*line8Color: coral<br />

The command-line syntax for these is simple only for background, which maps directly to the usual<br />

X11 toolkit option "-bg". All others can only be set on the command line by use of the generic "-xrm"<br />

resource override option<br />

Examples:<br />

<strong>gnuplot</strong> -background coral<br />

to change the background color.<br />

<strong>gnuplot</strong> -xrm ’<strong>gnuplot</strong>*line1Color:blue’<br />

to override the first linetype color.<br />

77.76.5 Grayscale resources<br />

When -gray is selected, <strong>gnuplot</strong> honors the following resources for grayscale or color displays (shown<br />

here with their default values). Note that the default background is black.<br />

<strong>gnuplot</strong>*background: black<br />

<strong>gnuplot</strong>*textGray: white<br />

<strong>gnuplot</strong>*borderGray: gray50<br />

<strong>gnuplot</strong>*axisGray: gray50<br />

<strong>gnuplot</strong>*line1Gray: gray100<br />

<strong>gnuplot</strong>*line2Gray: gray60<br />

<strong>gnuplot</strong>*line3Gray: gray80<br />

<strong>gnuplot</strong>*line4Gray: gray40<br />

<strong>gnuplot</strong>*line5Gray: gray90<br />

<strong>gnuplot</strong>*line6Gray: gray50<br />

<strong>gnuplot</strong>*line7Gray: gray70<br />

<strong>gnuplot</strong>*line8Gray: gray30<br />

77.76.6 Line resources<br />

<strong>gnuplot</strong> honors the following resources for setting the width (in pixels) of plot lines (shown here with<br />

their default values.) 0 or 1 means a minimal width line of 1 pixel width. A value of 2 or 3 may improve<br />

the appearance of some plots.

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

Saved successfully!

Ooh no, something went wrong!