01.02.2014 Views

GNUPlot Manual

GNUPlot Manual

GNUPlot Manual

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.

102 gnuplot 4.0 36 SET-SHOW<br />

A number of other gnuplot options are available for the be terminal. These may be specified either as<br />

command-line options when gnuplot is invoked or as resources in the configuration file ".Xdefaults".<br />

They are set upon initialization and cannot be altered during a gnuplot session.<br />

36.59.7.1 Command-line options In addition to the X Toolkit options, the following options may<br />

be specified on the command line when starting gnuplot or as resources in your ".Xdefaults" file:<br />

‘-mono‘<br />

‘-gray‘<br />

‘-clear‘<br />

‘-raise‘<br />

‘-noraise‘<br />

‘-persist‘<br />

forces monochrome rendering on color displays.<br />

requests grayscale rendering on grayscale or color displays.<br />

(Grayscale displays receive monochrome rendering by default.)<br />

requests that the window be cleared momentarily before a<br />

new plot is displayed.<br />

raises plot window after each plot.<br />

does not raise plot window after each plot.<br />

plots windows survive after main gnuplot program exits.<br />

The options are shown above in their command-line syntax. When entered as resources in ".Xdefaults",<br />

they require a different syntax.<br />

Example:<br />

gnuplot*gray: on<br />

gnuplot also provides a command line option (-pointsize ) and a resource, gnuplot*pointsize:<br />

, to control the size of points plotted with the points plotting style. The value v is a real number<br />

(greater than 0 and less than or equal to ten) used as a scaling factor for point sizes. For example,<br />

-pointsize 2 uses points twice the default size, and -pointsize 0.5 uses points half the normal size.<br />

36.59.7.2 Monochrome options For monochrome displays, gnuplot does not honor foreground<br />

or background colors. The default is black-on-white. -rv or gnuplot*reverseVideo: on requests<br />

white-on-black.<br />

36.59.7.3 Color resources For color displays, gnuplot honors the following resources (shown here<br />

with their default values) or the greyscale resources. The values may be color names as listed in the BE<br />

rgb.txt file on your system, hexadecimal RGB color specifications (see BE documentation), or a color<br />

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

intensity blue.<br />

gnuplot*background: white<br />

gnuplot*textColor: black<br />

gnuplot*borderColor: black<br />

gnuplot*axisColor: black<br />

gnuplot*line1Color: red<br />

gnuplot*line2Color: green<br />

gnuplot*line3Color: blue<br />

gnuplot*line4Color: magenta<br />

gnuplot*line5Color: cyan<br />

gnuplot*line6Color: sienna<br />

gnuplot*line7Color: orange<br />

gnuplot*line8Color: coral<br />

The command-line syntax for these is, for example,<br />

Example:<br />

gnuplot -background coral

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

Saved successfully!

Ooh no, something went wrong!