}",\
" {linewidth | lw } {pointscale | ps }",\
" {rounded | butt}",\
" {clip | noclip}",\
" {palfuncparam {,}}",\
" {size {unit},{unit}}",
#define PS_COMMON_OPTS2 \
" {blacktext | colortext | colourtext}",\
" {{font} \"fontname{,fontsize}\" {}}",\
" {fontscale }",
#define PS_COMMON_PROLOG_INFO \
" If you see the error message",\
" \"Can't find PostScript prologue file ... \"",\
" Please see and follow the instructions in `postscript prologue`.",\
"",
#define PS_COMMON_DOC1 \
" The option `color` enables color, while `monochrome` prefers black and white",\
" drawing elements. Further, `monochrome` uses gray `palette` but it does not",\
" change color of objects specified with an explicit `colorspec`."\
"",\
" `dashlength` or `dl` scales the length of dashed-line segments by
,",\
" which is a floating-point number greater than zero.",\
" `linewidth` or `lw` scales all linewidths by .",\
"",\
" By default the generated PostScript code uses language features that were",\
" introduced in PostScript Level 2, notably filters and pattern-fill of",\
" irregular objects such as filledcurves. PostScript Level 2 features are",\
" conditionally protected so that PostScript Level 1 interpreters do not issue",\
" errors but, rather, display a message or a PostScript Level 1 approximation.",\
" The `level1` option substitutes PostScript Level 1 approximations of these",\
" features and uses no PostScript Level 2 code. This may be required by some",\
" old printers and old versions of Adobe Illustrator. The flag `level1` can be",\
" toggled later by editing a single line in the PostScript output file to force",\
" PostScript Level 1 interpretation. In the case of files containing level 2",\
" code, the above features will not appear or will be replaced by a note when",\
" this flag is set or when the interpreting program does not indicate that it",\
" understands level 2 PostScript or higher. The flag `level3` enables PNG",\
" encoding for bitmapped images, which can reduce the output size considerably.",\
"",\
" `rounded` sets line caps and line joins to be rounded; `butt` is the",\
" default, butt caps and mitered joins.",\
"",\
" `clip` tells PostScript to clip all output to the bounding box;",\
" `noclip` is the default.",\
"",\
" `palfuncparam` controls how `set palette functions` are encoded as gradients",\
" in the output. Analytic color component functions (set via",\
" `set palette functions`) are encoded as linear interpolated gradients in the",\
" postscript output: The color component functions are sampled at ",\
" points and all points are removed from this gradient which can be removed",\
" without changing the resulting colors by more than . For",\
" almost every useful palette you may safely leave the defaults of",\
" =2000 and =0.003 untouched.",\
"",\
" The default size for postscript output is 10 inches x 7 inches. The default",\
" for eps output is 5 x 3.5 inches. The `size` option changes this to",\
" whatever the user requests. By default the X and Y sizes are taken to be in",\
" inches, but other units are possibly (currently only cm). The BoundingBox",\
" of the plot is correctly adjusted to contain the resized image.",\
" Screen coordinates always run from 0.0 to 1.0 along the full length of the",\
" plot edges as specified by the `size` option.",\
" NB: `this is a change from the previously recommended method of using the",\
" set size command prior to setting the terminal type`. The old method left",\
" the BoundingBox unchanged and screen coordinates did not correspond to the",\
" actual limits of the plot.",\
"",
""
#else /* JAPANESE_DOC */
#define PS_COMMON_OPTS1 \
" {level1 | leveldefault | level3}",\
" {color | colour | monochrome}",\
" {background | nobackground}",\
" {dashlength | dl
(0 )",\
" ",\
" `linewidth` `lw` ",\
"",\
" PostScript ",\
" filledcurves ",\
" PostScript Level 2 PostScript",\
" Level 2 PostScript Level 1 ",\
" PostScript Level 1 ",\
" `level1` ",\
" PostScript Level1 PostScript Level 2 ",\
" Adobe Illustrator ",\
" `level1` ",\
" PostScript ",\
" PostScript Level 1 ON/OFF level",\
" 2 ",\
" PostScript level 2",\
" PostScript ",\
" `level3` PNG " ,\
" ",\
"",\
" `rounded` `butt` ",\
" ",\
"",\
" `clip` PostScript BoundingBox (PostScript )",\
" ; `noclip` ",\
"",\
" `palfuncparam` `set palette functions` ",\
" (`set palatte functions` ",\
" ) postscript ",\
" : ",\
" ",\
" ",\
" =2000 =0.003 ",\
"",\
" PostScript 10 x 7 EPS ",\
" 5 x 3.5 `size` ",\
" X Y ",\
" ( cm ) ",\
" BoundingBox (PostScript ) ",\
" ",\
" `size` 0.0",\
" 1.0 ",\
" : ` set size ",\
" `",\
" BoundingBox ",\
" ",\
"",
""
#endif /* JAPANESE_DOC */
END_HELP(00psglobal)
START_HELP(aifm)
#ifndef JAPANESE_DOC
"1 aifm",
"?commands set terminal aifm",
"?set terminal aifm",
"?set term aifm",
"?terminal aifm",
"?term aifm",
"?aifm",
"",
" `NOTE: Legacy terminal`, originally written for Adobe Illustrator 3.0+.",
" Since Adobe Illustrator understands PostScript level 1 commands directly,",
" you should use `set terminal post level1` instead.",
"",
" Syntax:",
" set terminal aifm {color|monochrome} {\"\"} {}",
""
#else /* JAPANESE_DOC */
"1 aifm",
"?commands set terminal aifm",
"?set terminal aifm",
"?set term aifm",
"?terminal aifm",
"?term aifm",
"?aifm",
"",
" `: (legacy) ` Adobe Illustrator 3.0+ Adobe",
" Illustrator 1 PostScript",
" `set terminal post level1` ",
"",
" :",
" set terminal aifm {color|monochrome} {\"\"} {}",
""
#endif /* JAPANESE_DOC */
END_HELP(ai)
START_HELP(aqua)
#ifndef JAPANESE_DOC
"1 aqua",
"?commands set terminal aqua",
"?set terminal aqua",
"?set term aqua",
"?terminal aqua",
"?term aqua",
"?aqua",
"?Aqua",
" This terminal relies on AquaTerm.app for display on Mac OS X.",
"",
" Syntax:",
" set terminal aqua {} {title \"\"} {size }",
" {font \"{,}\"}",
" {linewidth }\"}",
" {{no}enhanced} {solid|dashed} {dl }}",
"",
" where is the number of the window to draw in (default is 0),",
" is the name shown in the title bar (default \"Figure \"),",
" is the size of the plot (default is 846x594 pt = 11.75x8.25 in).",
"",
" Use to specify the font (default is \"Times-Roman\"),",
" and to specify the font size (default is 14.0 pt).",
"",
" The aqua terminal supports enhanced text mode (see `enhanced`), except for",
" overprint. Font support is limited to the fonts available on the system.",
" Character encoding can be selected by `set encoding` and currently supports",
" iso_latin_1, iso_latin_2, cp1250, and UTF8 (default).",
"",
" Lines can be drawn either solid or dashed, (default is solid) and the dash",
" spacing can be modified by which is a multiplier > 0.",
""
#else /* JAPANESE_DOC */
"1 aqua",
"?commands set terminal aqua",
"?set terminal aqua",
"?set term aqua",
"?terminal aqua",
"?term aqua",
"?aqua",
"?Aqua",
" Mac OS X AquaTerm.app ",
"",
" :",
" set terminal aqua {} {title \"\"} {size }",
" {font \"{,}\"}",
" {linewidth }\"}",
" {{no}enhanced} {solid|dashed} {dl }}",
"",
" ( 0)",
" ( \"Figure \"),",
" ( 846x594 pt = 11.75x8.25 ) ",
"",
" ( \"Times-Roman\")",
" ( 14.0 pt)",
"",
" aqua (enhanced text mode; :",
" `enhanced`) ",
" ",
" `set encoding` iso_latin_1, iso_latin_2,",
" cp1250 UTF8 (default) ",
"",
" () ",
" (>0) ",
""
#endif /* JAPANESE_DOC */
END_HELP(aqua)
START_HELP(be)
#ifndef JAPANESE_DOC
"1 be",
"?commands set terminal be",
"?set terminal be",
"?set term be",
"?terminal be",
"?term be",
"?be",
"?BE",
" The `be` terminal type is present if gnuplot is built for the `beos`",
" operating system and for use with X servers. It is selected at program",
" startup if the `DISPLAY` environment variable is set, if the `TERM`",
" environment variable is set to `xterm`, or if the `-display` command",
" line option is used.",
"",
" Syntax:",
" set terminal be {reset} {}",
"",
" Multiple plot windows are supported: `set terminal be ` directs the",
" output to plot window number n. If n>0, the terminal number will be",
" appended to the window title and the icon will be labeled `gplt `.",
" The active window may distinguished by a change in cursor (from default",
" to crosshair.)",
"",
" Plot windows remain open even when the `gnuplot` driver is changed to a",
" different device. A plot window can be closed by pressing the letter q",
" while that window has input focus, or by choosing `close` from a window",
" manager menu. All plot windows can be closed by specifying `reset`, which",
" actually terminates the subprocess which maintains the windows (unless",
" `-persist` was specified).",
"",
" Plot windows will automatically be closed at the end of the session",
" unless the `-persist` option was given.",
"",
" The size or aspect ratio of a plot may be changed by resizing the `gnuplot`",
" window.",
"",
" Linewidths and pointsizes may be changed from within `gnuplot` with",
" `set linestyle`.",
"",
" For terminal type `be`, `gnuplot` accepts (when initialized) the standard",
" X Toolkit options and resources such as geometry, font, and name from the",
" command line arguments or a configuration file. See the X(1) man page",
" (or its equivalent) for a description of such options.",
"",
" A number of other `gnuplot` options are available for the `be` terminal.",
" These may be specified either as command-line options when `gnuplot` is",
" invoked or as resources in the configuration file \".Xdefaults\". They are",
" set upon initialization and cannot be altered during a `gnuplot` session.",
"2 command-line_options",
"?commands set terminal be command-line-options",
"?set terminal be command-line-options",
"?set term be command-line-options",
"?be command-line-options",
" In addition to the X Toolkit options, the following options may be specified",
" on the command line when starting `gnuplot` or as resources in your",
" \".Xdefaults\" file:",
"@start table - first is interactive cleartext form",
" `-mono` forces monochrome rendering on color displays.",
" `-gray` requests grayscale rendering on grayscale or color displays.",
" (Grayscale displays receive monochrome rendering by default.)",
" `-clear` requests that the window be cleared momentarily before a",
" new plot is displayed.",
" `-raise` raises plot window after each plot",
" `-noraise` does not raise plot window after each plot",
" `-persist` plots windows survive after main gnuplot program exits",
"#\\begin{tabular}{|cl|} \\hline",
"#`-mono` & forces monochrome rendering on color displays.\\\\",
"#`-gray` & requests grayscale rendering on grayscale or color displays.\\\\",
"# & (Grayscale displays receive monochrome rendering by default.) \\\\",
"#`-clear` & requests that the window be cleared momentarily before a\\\\",
"# & new plot is displayed. \\\\",
"#`-raise` & raises plot window after each plot. \\\\",
"#`-noraise` & does not raise plot window after each plot. \\\\",
"#`-persist`&plots windows survive after main gnuplot program exits. \\\\",
"%c l .",
"%`-mono`@forces monochrome rendering on color displays.",
"%`-gray`@requests grayscale rendering on grayscale or color displays.",
"% @(Grayscale displays receive monochrome rendering by default.)",
"%`-clear`@requests that the window be cleared momentarily before a",
"% @new plot is displayed.",
"%`-raise`@raises plot window after each plot",
"%`-noraise`@does not raise plot window after each plot",
"%`-persist`@plots windows survive after main gnuplot program exits",
"@end table",
" The options are shown above in their command-line syntax. When entered as",
" resources in \".Xdefaults\", they require a different syntax.",
"",
" Example:",
" gnuplot*gray: on",
"",
" `gnuplot` also provides a command line option (`-pointsize `) and a",
" resource, `gnuplot*pointsize: `, to control the size of points plotted",
" with the `points` plotting style. The value `v` is a real number (greater",
" than 0 and less than or equal to ten) used as a scaling factor for point",
" sizes. For example, `-pointsize 2` uses points twice the default size, and",
" `-pointsize 0.5` uses points half the normal size.",
"2 monochrome_options",
"?commands set terminal be monochrome_options",
"?set terminal be monochrome_options",
"?set term be monochrome_options",
"?be monochrome_options",
" For monochrome displays, `gnuplot` does not honor foreground or background",
" colors. The default is black-on-white. `-rv` or `gnuplot*reverseVideo: on`",
" requests white-on-black.",
"",
"2 color_resources",
"?commands set terminal be color_resources",
"?set terminal be color_resources",
"?set term be color_resources",
"?be color_resources",
" For color displays, `gnuplot` honors the following resources (shown here",
" with their default values) or the greyscale resources. The values may be",
" color names as listed in the BE rgb.txt file on your system, hexadecimal",
" RGB color specifications (see BE documentation), or a color name followed",
" by a comma and an `intensity` value from 0 to 1. For example, `blue, 0.5`",
" means a half intensity blue.",
"@start table - first is interactive cleartext form",
" gnuplot*background: white",
" gnuplot*textColor: black",
" gnuplot*borderColor: black",
" gnuplot*axisColor: black",
" gnuplot*line1Color: red",
" gnuplot*line2Color: green",
" gnuplot*line3Color: blue",
" gnuplot*line4Color: magenta",
" gnuplot*line5Color: cyan",
" gnuplot*line6Color: sienna",
" gnuplot*line7Color: orange",
" gnuplot*line8Color: coral",
"#\\begin{tabular}{|cl|} \\hline",
"#&gnuplot*background: white\\\\",
"#&gnuplot*textColor: black\\\\",
"#&gnuplot*borderColor: black\\\\",
"#&gnuplot*axisColor: black\\\\",
"#&gnuplot*line1Color: red\\\\",
"#&gnuplot*line2Color: green\\\\",
"#&gnuplot*line3Color: blue\\\\",
"#&gnuplot*line4Color: magenta\\\\",
"#&gnuplot*line5Color: cyan\\\\",
"#&gnuplot*line6Color: sienna\\\\",
"#&gnuplot*line7Color: orange\\\\",
"#&gnuplot*line8Color: coral\\\\",
"%c l .",
"%@gnuplot*background: white",
"%@gnuplot*textColor: black",
"%@gnuplot*borderColor: black",
"%@gnuplot*axisColor: black",
"%@gnuplot*line1Color: red",
"%@gnuplot*line2Color: green",
"%@gnuplot*line3Color: blue",
"%@gnuplot*line4Color: magenta",
"%@gnuplot*line5Color: cyan",
"%@gnuplot*line6Color: sienna",
"%@gnuplot*line7Color: orange",
"%@gnuplot*line8Color: coral",
"@end table",
"",
" The command-line syntax for these is, for example,",
"",
" Example:",
" gnuplot -background coral",
"",
"2 grayscale_resources",
"?commands set terminal be grayscale_resources",
"?set terminal be grayscale_resources",
"?set term be grayscale_resources",
"?be grayscale_resources",
" When `-gray` is selected, `gnuplot` honors the following resources for",
" grayscale or color displays (shown here with their default values). Note",
" that the default background is black.",
"@start table - first is interactive cleartext form",
" gnuplot*background: black",
" gnuplot*textGray: white",
" gnuplot*borderGray: gray50",
" gnuplot*axisGray: gray50",
" gnuplot*line1Gray: gray100",
" gnuplot*line2Gray: gray60",
" gnuplot*line3Gray: gray80",
" gnuplot*line4Gray: gray40",
" gnuplot*line5Gray: gray90",
" gnuplot*line6Gray: gray50",
" gnuplot*line7Gray: gray70",
" gnuplot*line8Gray: gray30",
"#\\begin{tabular}{|cl|} \\hline",
"#&gnuplot*background: black\\\\",
"#&gnuplot*textGray: white\\\\",
"#&gnuplot*borderGray: gray50\\\\",
"#&gnuplot*axisGray: gray50\\\\",
"#&gnuplot*line1Gray: gray100\\\\",
"#&gnuplot*line2Gray: gray60\\\\",
"#&gnuplot*line3Gray: gray80\\\\",
"#&gnuplot*line4Gray: gray40\\\\",
"#&gnuplot*line5Gray: gray90\\\\",
"#&gnuplot*line6Gray: gray50\\\\",
"#&gnuplot*line7Gray: gray70\\\\",
"#&gnuplot*line8Gray: gray30\\\\",
"%c l .",
"%@gnuplot*background: black",
"%@gnuplot*textGray: white",
"%@gnuplot*borderGray: gray50",
"%@gnuplot*axisGray: gray50",
"%@gnuplot*line1Gray: gray100",
"%@gnuplot*line2Gray: gray60",
"%@gnuplot*line3Gray: gray80",
"%@gnuplot*line4Gray: gray40",
"%@gnuplot*line5Gray: gray90",
"%@gnuplot*line6Gray: gray50",
"%@gnuplot*line7Gray: gray70",
"%@gnuplot*line8Gray: gray30",
"@end table",
"",
"2 line_resources",
"?commands set terminal be line_resources",
"?set terminal be line_resources",
"?set term be line_resources",
"?be line_resources",
" `gnuplot` honors the following resources for setting the width (in pixels) of",
" plot lines (shown here with their default values.) 0 or 1 means a minimal",
" width line of 1 pixel width. A value of 2 or 3 may improve the appearance of",
" some plots.",
"@start table - first is interactive cleartext form",
" gnuplot*borderWidth: 2",
" gnuplot*axisWidth: 0",
" gnuplot*line1Width: 0",
" gnuplot*line2Width: 0",
" gnuplot*line3Width: 0",
" gnuplot*line4Width: 0",
" gnuplot*line5Width: 0",
" gnuplot*line6Width: 0",
" gnuplot*line7Width: 0",
" gnuplot*line8Width: 0",
"#\\begin{tabular}{|cl|} \\hline",
"#&gnuplot*borderWidth: 2\\\\",
"#&gnuplot*axisWidth: 0\\\\",
"#&gnuplot*line1Width: 0\\\\",
"#&gnuplot*line2Width: 0\\\\",
"#&gnuplot*line3Width: 0\\\\",
"#&gnuplot*line4Width: 0\\\\",
"#&gnuplot*line5Width: 0\\\\",
"#&gnuplot*line6Width: 0\\\\",
"#&gnuplot*line7Width: 0\\\\",
"#&gnuplot*line8Width: 0\\\\",
"%c l .",
"%@gnuplot*borderWidth: 2",
"%@gnuplot*axisWidth: 0",
"%@gnuplot*line1Width: 0",
"%@gnuplot*line2Width: 0",
"%@gnuplot*line3Width: 0",
"%@gnuplot*line4Width: 0",
"%@gnuplot*line5Width: 0",
"%@gnuplot*line6Width: 0",
"%@gnuplot*line7Width: 0",
"%@gnuplot*line8Width: 0",
"@end table",
"",
" `gnuplot` honors the following resources for setting the dash style used for",
" plotting lines. 0 means a solid line. A two-digit number `jk` (`j` and `k`",
" are >= 1 and 0 ",
" `gplt ` ",
" ()",
"",
" `gnuplot` ",
" ",
" q `close` ",
" `reset` ",
" (",
" `-persist` )",
"",
" `-persisit` ",
" ",
"",
" `gnuplot` ",
" ",
"",
" `gnuplot` `set linestyle` ",
"",
" `be` `gnuplot` ()",
" geometry font, name X Toolkit",
" ",
" X(1) () ",
"",
" `be` `gnuplot` ",
" `gnuplot` ",
" \".Xdefaults\" ",
" `gnuplot` ",
"2 (command-line_options)",
"?commands set terminal be command-line-options",
"?set terminal be command-line-options",
"?set term be command-line-options",
"?be command-line-options",
" X Toolkit gnuplot ",
" \".Xdefaults\" ",
" :",
"@start table - ",
" `-mono` ",
" `-gray` ",
" ()",
" `-clear` () ",
" `-raise` ",
" `-noraise` ",
" `-persist` gnuplot ",
"#\\begin{tabular}{|cl|} \\hline",
"#`-mono` & \\\\",
"#`-gray` & \\\\",
"# & ()\\\\",
"#`-clear` & () \\\\",
"#`-raise` & \\\\",
"#`-noraise` & \\\\",
"#`-persist` & gnuplot \\\\",
"%c l .",
"%`-mono`@",
"%`-gray`@",
"% @()",
"%`-clear`@ () ",
"%`-raise`@",
"%`-noraise`@",
"%`-persist`@gnuplot ",
"@end table",
" \".Xdefaults\" ",
" ",
"",
" :",
" gnuplot*gray: on",
"",
" `gnuplot` `points` ",
" (`-pointsize `) (`gnuplot*pointsize: `)",
" `v` ",
" (0 < v = 1.6 is required.",
"",
" Please read the help for the `pdfcairo` terminal."
""
#else /* JAPANESE_DOC */
"1 epscairo",
"?set terminal epscairo",
"?terminal epscairo",
"?set term epscairo",
"?term epscairo",
"?epscairo",
" `epscairo` cairo, pango EPS ",
" (Encapsulated PostScript) cairo version 1.6 ",
" ",
"",
" `pdfcairo` "
""
#endif /* JAPANESE_DOC */
END_HELP(epscairo)
START_HELP(epslatex)
#ifndef JAPANESE_DOC
"1 epslatex",
"?commands set terminal epslatex",
"?set terminal epslatex",
"?set term epslatex",
"?terminal epslatex",
"?term epslatex",
"?epslatex",
" The `epslatex` driver generates output for further processing by LaTeX.",
"",
" Syntax:",
" set terminal epslatex {default}",
" set terminal epslatex {standalone | input}",
" {oldstyle | newstyle}",
PS_COMMON_OPTS1
" {header | noheader}",
PS_COMMON_OPTS2
"",
" The epslatex terminal prints a plot as `terminal postscript eps`",
" but transfers the texts to LaTeX instead of including in the PostScript",
" code. Thus, many options are the same as in the `postscript terminal`.",
"",
" The appearance of the epslatex terminal changed between versions 4.0 and 4.2",
" to reach better consistency with the postscript terminal:",
" The plot size has been changed from 5 x 3 inches to 5 x 3.5 inches;",
" the character width is now estimated to be 60% of the font size",
" while the old epslatex terminal used 50%; now, the larger number of",
" postscript linetypes and symbols are used. To reach an appearance that is",
" nearly identical to the old one specify the option `oldstyle`. (In fact",
" some small differences remain: the symbol sizes are slightly different, the",
" tics are half as large as in the old terminal which can be changed using",
" `set tics scale`, and the arrows have all features as in the postscript",
" terminal.)",
"",
PS_COMMON_PROLOG_INFO
PS_COMMON_DOC1
" `blacktext` forces all text to be written in black even in color mode;",
"",
" The epslatex driver offers a special way of controlling text positioning:",
" (a) If any text string begins with '{', you also need to include a '}' at the",
" end of the text, and the whole text will be centered both horizontally",
" and vertically by LaTeX. (b) If the text string begins with '[', you need",
" to continue it with: a position specification (up to two out of t,b,l,r,c),",
" ']{', the text itself, and finally, '}'. The text itself may be anything",
" LaTeX can typeset as an LR-box. \\rule{}{}'s may help for best positioning.",
" See also the documentation for the `pslatex` terminal driver.",
" To create multiline labels, use \\shortstack, for example",
" set ylabel '[r]{\\shortstack{first line \\\\ second line}}' ",
"",
" The `back` option of `set label` commands is handled slightly different",
" than in other terminals. Labels using 'back' are printed behind all other",
" elements of the plot while labels using 'front' are printed above ",
" everything else.",
"",
" The driver produces two different files, one for the eps part of the figure",
" and one for the LaTeX part. The name of the LaTeX file is taken from the",
" `set output` command. The name of the eps file is derived by replacing",
" the file extension (normally `.tex`) with `.eps` instead. There is no",
" LaTeX output if no output file is given! Remember to close the",
" `output file` before next plot unless in `multiplot` mode.",
"",
" In your LaTeX documents use '\\input{filename}' to include the figure.",
" The `.eps` file is included by the command \\includegraphics{...}, so you",
" must also include \\usepackage{graphicx} in the LaTeX preamble. If you",
" want to use coloured text (option `textcolour`) you also have to include",
" \\usepackage{color} in the LaTeX preamble.",
"",
" Pdf files can be made from the eps file using 'epstopdf'. If the graphics",
" package is properly configured, the LaTeX files can also be processed by",
" pdflatex without changes, using the pdf files instead of the eps files."
"",
" The behaviour concerning font selection depends on the header mode.",
" In all cases, the given font size is used for the calculation of proper",
" spacing. When not using the `standalone` mode the actual LaTeX font and",
" font size at the point of inclusion is taken, so use LaTeX commands for",
" changing fonts. If you use e.g. 12pt as font size for your LaTeX",
" document, use '\"\" 12' as options. The font name is ignored. If using",
" `standalone` the given font and font size are used, see below for a",
" detailed description.",
"",
" If text is printed coloured is controlled by the TeX booleans \\ifGPcolor",
" and \\ifGPblacktext. Only if \\ifGPcolor is true and \\ifGPblacktext is",
" false, text is printed coloured. You may either change them in the",
" generated TeX file or provide them globally in your TeX file, for example",
" by using",
" \\newif\\ifGPblacktext",
" \\GPblacktexttrue",
" in the preamble of your document. The local assignment is only done if no",
" global value is given.",
"",
" When using the epslatex terminal give the name of the TeX file in the",
" `set output` command including the file extension (normally \".tex\").",
" The eps filename is generated by replacing the extension by \".eps\".",
"",
" If using the `standalone` mode a complete LaTeX header is added to the",
" LaTeX file; and \"-inc\" is added to the filename of the eps file.",
" The `standalone` mode generates a TeX file that produces",
" output with the correct size when using dvips, pdfTeX, or VTeX.",
" The default, `input`, generates a file that has to be included into a",
" LaTeX document using the \\input command.",
"",
" If a font other than \"\" or \"default\" is given it is interpreted as",
" LaTeX font name. It contains up to three parts, separated by a comma:",
" 'fontname,fontseries,fontshape'. If the default fontshape or fontseries",
" are requested, they can be omitted. Thus, the real syntax for the fontname",
" is '[fontname][,fontseries][,fontshape]'. The naming convention for all",
" parts is given by the LaTeX font scheme. The fontname is 3 to 4 characters",
" long and is built as follows: One character for the font vendor, two",
" characters for the name of the font, and optionally one additional",
" character for special fonts, e.g., 'j' for fonts with old-style numerals",
" or 'x' for expert fonts. The names of many fonts is described in",
"^ ",
" http://www.tug.org/fontname/fontname.pdf",
"^ ",
" For example, 'cmr' stands for Computer Modern Roman, 'ptm' for Times-Roman,",
" and 'phv' for Helvetica. The font series denotes the thickness of the",
" glyphs, in most cases 'm' for normal (\"medium\") and 'bx' or 'b' for bold",
" fonts. The font shape is 'n' for upright, 'it' for italics, 'sl' for",
" slanted, or 'sc' for small caps, in general. Some fonts may provide",
" different font series or shapes.",
"",
" Examples:",
"",
" Use Times-Roman boldface (with the same shape as in the surrounding text):",
" set terminal epslatex 'ptm,bx'",
" Use Helvetica, boldface, italics:",
" set terminal epslatex 'phv,bx,it'",
" Continue to use the surrounding font in slanted shape:",
" set terminal epslatex ',,sl'",
" Use small capitals:",
" set terminal epslatex ',,sc'",
"",
" By this method, only text fonts are changed. If you also want to change",
" the math fonts you have to use the \"gnuplot.cfg\" file or the `header`",
" option, described below.",
"",
" In standalone mode, the font size is taken from the given font size in the",
" `set terminal` command. To be able to use a specified font size, a file",
" \"size.clo\" has to reside in the LaTeX search path. By default,",
" 10pt, 11pt, and 12pt are supported. If the package \"extsizes\" is",
" installed, 8pt, 9pt, 14pt, 17pt, and 20pt are added.",
"",
" The `header` option takes a string as argument. This string is written",
" into the generated LaTeX file. If using the `standalone` mode, it is ",
" written into the preamble, directly before the \\begin{document} command.",
" In the `input` mode, it is placed directly after the \\begingroup command",
" to ensure that all settings are local to the plot.",
"",
" Examples:",
"",
" Use T1 fontencoding, change the text and math font to Times-Roman as well",
" as the sans-serif font to Helvetica:",
" set terminal epslatex standalone header \\",
" \"\\\\usepackage[T1]{fontenc}\\n\\\\usepackage{mathptmx}\\n\\\\usepackage{helvet}\"",
" Use a boldface font in the plot, not influencing the text outside the plot:",
" set terminal epslatex input header \"\\\\bfseries\"",
"",
" If the file \"gnuplot.cfg\" is found by LaTeX it is input in the preamble",
" the LaTeX document, when using `standalone` mode. It can be used for",
" further settings, e.g., changing the document font to Times-Roman,",
" Helvetica, and Courier, including math fonts (handled by \"mathptmx.sty\"):",
" \\usepackage{mathptmx}",
" \\usepackage[scaled=0.92]{helvet}",
" \\usepackage{courier}",
" The file \"gnuplot.cfg\" is loaded before the header information given",
" by the `header` command. Thus, you can use `header` to overwrite some of",
" settings performed using \"gnuplot.cfg\"",
""
#else /* JAPANESE_DOC */
"1 epslatex",
"?commands set terminal epslatex",
"?set terminal epslatex",
"?set term epslatex",
"?terminal epslatex",
"?term epslatex",
"?epslatex",
" `epslatex` LaTeX ",
"",
" :",
" set terminal epslatex {default}",
" set terminal epslatex {standalone | input}",
" {oldstyle | newstyle}",
PS_COMMON_OPTS1
" {header | noheader}",
PS_COMMON_OPTS2
"",
" epslatex PostScript LaTeX",
" `terminal postscript eps` ",
" `postscript terminal` ",
"",
" version 4.0 4.2 postscript ",
" epslatex 5 x 3 ",
" 5 x 3.5 50% ",
" 60% Postscript",
" ",
" `oldstyle` (:",
" (tics) ",
" `set tics scale` (arrow) ",
" postscript )",
"",
PS_COMMON_PROLOG_INFO
PS_COMMON_DOC1
" `blacktext` ",
"",
" epslatex :",
" (a) '{' '}' ",
" LaTeX ",
" (b) '[' (t,b,l,r,c ",
" 2 ) ']{' '}' ",
" LaTeX LR-box \\rule{}{} ",
" `pslatex` ",
" ",
" \\shortstack ",
" set ylabel '[r]{\\shortstack{first line \\\\ second line}}'",
"",
" `set label` `back` ",
" `front` ",
" `back` ",
" ",
"",
" 2 1 eps ",
" LaTeX LaTeX `set output` ",
" eps ( `.tex`) ",
" `.eps` ",
" LaTeX !",
" `multiplot` ",
" ",
"",
" LaTeX '\\input{filename}' ",
" `.eps` \\includegraphics{...} ",
" LaTeX \\usepackage{graphicx} ",
" `textcolour` LaTeX ",
" \\usepackage{color} ",
"",
" eps 'epstopdf' pdf ",
" graphics LaTeX ",
" pdflatex eps ",
" pdf ",
"",
" ",
" ",
" `standalone` include ",
" LaTeX ",
" LaTeX ",
" LaTeX 12pt '\"\" 12' ",
" `standalone` ",
" ",
"",
" TeX Bool \\ifGPcolor ",
" \\ifGPblacktext \\ifGPcolor true \\ifGPblacktext ",
" false TeX ",
" TeX ",
" ",
" \\newif\\ifGPblacktext",
" \\GPblacktexttrue",
" ",
" ",
"",
" epslatex `set output` TeX ",
" ( \".tex\") eps ",
" \".eps\" ",
"",
" `standalone` LaTeX LaTeX ",
" eps \"-inc\" ",
" `standalone` dvips, pdfTeX, VTeX ",
" TeX ",
" `input` \\input ",
" LaTeX ",
"",
" \"\" \"default\" LaTeX ",
" 'fontname,fontseries,fontshape' ",
" 3 ",
" ",
" '[fontname][,fontseries][,fontshape]' ",
" LaTeX ",
" fontname 3 4 ",
" : 1 2 ",
" 1 'j' ",
" 'x' expert ",
" ",
"^ ",
" http://www.tug.org/fontname/fontname.pdf",
"^ ",
" 'cmr' Computer Modern Roman 'ptm' Times-Roman,",
" 'phv' Helvetica ",
" 'm' (\"medium\")'bx' 'b' (bold) ",
" 'n' (upright)'it'",
" 'sl' (slanted)'sc' (small caps)",
" ",
" ",
"",
" :",
"",
" Times-Roman () :",
" set terminal epslatex 'ptm,bx'",
" Helvetica :",
" set terminal epslatex 'phv,bx,it'",
" :",
" set terminal epslatex ',,sl'",
" (small caps) :",
" set terminal epslatex ',,sc'",
"",
" ",
" \"gnuplot.cfg\" `header` ",
" ",
"",
" standalone `set terminal` ",
" ",
" LaTeX \"size.clo\" ",
" 10pt, 11pt, 12pt ",
" \"extsizes\" 8pt, 9pt, 14pt, 17pt,",
" 20pt ",
"",
" `header` ",
" LaTeX `standalone` ",
" \\begin{document} ",
" `input` \\begingroup ",
" ",
"",
" :",
"",
" T1 Times-Roman",
" Helvetica :",
" set terminal epslatex standalone header \\",
" \"\\\\usepackage[T1]{fontenc}\\n\\\\usepackage{mathptmx}\\n\\\\usepackage{helvet}\"",
" (boldface) ",
" :",
" set terminal epslatex input header \"\\\\bfseries\"",
"",
" \"gnuplot.cfg\" LaTeX `standalone`",
" LaTeX ",
" ",
" TImes-Roman, Helvetica, Courier (\"mathptmx.sty\" ",
" ) :",
" \\usepackage{mathptmx}",
" \\usepackage[scaled=0.92]{helvet}",
" \\usepackage{courier}",
" \"gnuplot.cfg\" `header` ",
" \"gnuplot.cfg\" ",
" `header` ",
""
#endif /* JAPANESE_DOC */
END_HELP(epslatex)
START_HELP(epson_180dpi)
#ifndef JAPANESE_DOC
"1 epson_180dpi",
"?commands set terminal epson_180dpi",
"?set terminal epson_180dpi",
"?set term epson_180dpi",
"?terminal epson_180dpi",
"?term epson_180dpi",
"?epson_180dpi",
"?commands set terminal epson_60dpi",
"?set terminal epson_60dpi",
"?set term epson_60dpi",
"?terminal epson_60dpi",
"?term epson_60dpi",
"?epson_60dpi",
"?commands set terminal epson_lx800",
"?set terminal epson_lx800",
"?set term epson_lx800",
"?terminal epson_lx800",
"?term epson_lx800",
"?epson_lx800",
"?commands set terminal nec_cp6",
"?set terminal nec_cp6",
"?set term nec_cp6",
"?terminal nec_cp6",
"?term nec_cp6",
"?nec_cp6",
"?commands set terminal okidata",
"?set terminal okidata",
"?set term okidata",
"?terminal okidata",
"?term okidata",
"?okidata",
"?commands set terminal starc",
"?set terminal starc",
"?set term starc",
"?terminal starc",
"?term starc",
"?starc",
"?commands set terminal tandy_60dpi",
"?set terminal tandy_60dpi",
"?set term tandy_60dpi",
"?terminal tandy_60dpi",
"?term tandy_60dpi",
"?tandy_60dpi",
"?commands set terminal dpu414",
"?set terminal dpu414",
"?set term dpu414",
"?terminal dpu414",
"?term dpu414",
"?dpu414",
" Note: only available if gnuplot is configured --with-bitmap-terminals.",
" This driver supports a family of Epson printers and derivatives.",
"",
" `epson_180dpi` and `epson_60dpi` are drivers for Epson LQ-style 24-pin",
" printers with resolutions of 180 and 60 dots per inch, respectively.",
"",
" `epson_lx800` is a generic 9-pin driver appropriate for printers like the",
" Epson LX-800, the Star NL-10 and NX-1000, the PROPRINTER, and so forth.",
"",
" `nec_cp6` is generic 24-pin driver that can be used for printers like the",
" NEC CP6 and the Epson LQ-800.",
"",
" The `okidata` driver supports the 9-pin OKIDATA 320/321 Standard printers.",
"",
" The `starc` driver is for the Star Color Printer.",
"",
" The `tandy_60dpi` driver is for the Tandy DMP-130 series of 9-pin, 60-dpi",
" printers.",
"",
" The `dpu414` driver is for the Seiko DPU-414 thermal printer.",
"",
" `nec_cp6` has the options:",
"",
" Syntax:",
" set terminal nec_cp6 {monochrome | colour | draft}",
"",
" which defaults to monochrome.",
"",
" `dpu414` has the options:",
"",
" Syntax:",
" set terminal dpu414 {small | medium | large} {normal | draft}",
"",
" which defaults to medium (=font size) and normal.",
" Preferred combinations are `medium normal` and `small draft`.",
#ifdef MSDOS
"",
" With each of these drivers, a binary copy is required on a PC to print.",
" Do not use `print`---use instead `copy file /b lpt1:`.",
#endif
""
#else /* JAPANESE_DOC */
"1 epson_180dpi",
"?commands set terminal epson_180dpi",
"?set terminal epson_180dpi",
"?set term epson_180dpi",
"?terminal epson_180dpi",
"?term epson_180dpi",
"?epson_180dpi",
"?commands set terminal epson_60dpi",
"?set terminal epson_60dpi",
"?set term epson_60dpi",
"?terminal epson_60dpi",
"?term epson_60dpi",
"?epson_60dpi",
"?commands set terminal epson_lx800",
"?set terminal epson_lx800",
"?set term epson_lx800",
"?terminal epson_lx800",
"?term epson_lx800",
"?epson_lx800",
"?commands set terminal nec_cp6",
"?set terminal nec_cp6",
"?set term nec_cp6",
"?terminal nec_cp6",
"?term nec_cp6",
"?nec_cp6",
"?commands set terminal okidata",
"?set terminal okidata",
"?set term okidata",
"?terminal okidata",
"?term okidata",
"?okidata",
"?commands set terminal starc",
"?set terminal starc",
"?set term starc",
"?terminal starc",
"?term starc",
"?starc",
"?commands set terminal tandy_60dpi",
"?set terminal tandy_60dpi",
"?set term tandy_60dpi",
"?terminal tandy_60dpi",
"?term tandy_60dpi",
"?tandy_60dpi",
"?commands set terminal dpu414",
"?set terminal dpu414",
"?set term dpu414",
"?terminal dpu414",
"?term dpu414",
"?dpu414",
" : gnuplot --with-bitmap-terminals ",
" ",
" ",
"",
" `epson_180dpi` `epson_60dpi` 180dpi (/),",
" 60dpi Epson LQ 24 ",
"",
" `epson_lx800` Epson LX-800, Star NL-10 NX-1000, PROPRINTER ",
" 9 ",
"",
" `nec_cp6` NEC CP6 Epson LQ-800 ",
" 24 ",
"",
" `okidata` 9 OKIDATA 320/321 ",
" ",
"",
" `starc` Star ",
"",
" `tandy_60dpi` 9 60dpi Tandy DMP-130 ",
"",
" `dpu414` Seiko DPU-414 ",
"",
" `nec_cp6` :",
"",
" :",
" set terminal nec_cp6 {monochrome | colour | draft}",
"",
" (monochrome) ",
"",
" `dpu414` :",
"",
" :",
" set terminal dpu414 {small | medium | large} {normal | draft}",
"",
" medium (= ) normal ",
" `medium normal` `small draft` ",
#ifdef MSDOS
"",
" PC ",
" `print` `copy file /b lpt1:`",
" ",
#endif
""
#endif /* JAPANESE_DOC */
END_HELP(epson_180dpi)
START_HELP(fig)
#ifndef JAPANESE_DOC
"1 fig",
"?commands set terminal fig",
"?set terminal fig",
"?set term fig",
"?terminal fig",
"?term fig",
"?fig",
"?xfig",
" The `fig` terminal device generates output in the Fig graphics language",
" for import into the xfig interactive drawing tool.",
" Notes: ",
" The fig terminal was significantly revised in gnuplot version 5.3.",
" Currently only version 3.2 of the fig file format is supported.",
" Use of dash patterns may require Xfig 3.2.6 or newer.",
"",
" Syntax:",
" set terminal fig {monochrome | color}",
" {small | big | size {in|cm},{in|cm}}",
" {landscape | portrait}",
" {pointsmax }",
" {font \"{,}\"} {fontsize }",
" {textnormal | {textspecial texthidden textrigid}}",
" {{linewidth|lw} }",
"",
" The default settings are",
" set term fig color small landscape font \"Times Roman,10\" lw 1.0",
"",
" `size` sets the size of the drawing area to * in units of",
" inches (default) or centimeters. The default is `size 5in,3in`.",
" `small` is shorthand for `size 5in,3in` (3in,5in in portrait mode).",
" `big` is shorthand for `size 8in,5in`.",
"",
" `pointsmax` sets the maximum number of vertices in a polyline; longer ",
" polylines will be broken into segments.",
" (Note: this option was not present in versions 5.2.7 through 5.4.3).",
"",
" `font` sets the text font face to and its size to ",
" points. Choice is limited to the 35 standard PostScript fonts.",
" `textnormal` resets the text flags and selects postscript fonts,",
" `textspecial` sets the text flags for LaTeX specials,",
" `texthidden` sets the hidden flag and `textrigid` the rigid flag.",
"",
" `linewidth` is a multiplier for the linewidth property of all lines.",
"",
" Additional point-plot symbols are also available in the `fig` driver. The",
" symbols can be used through `pointtype` values % 100 above 50, with different",
" fill intensities controlled by % 5 and outlines in black (for",
" % 10 < 5) or in the current color. Available symbols are",
" 50 - 59: circles",
" 60 - 69: squares",
" 70 - 79: diamonds",
" 80 - 89: upwards triangles",
" 90 - 99: downwards triangles",
" The size of these symbols scales with the font size.",
"",
" RGB colors will be replaced with gray unless they have been defined in a",
" linetype prior to plotting or match a known named color or palette value.",
" See `colornames`.",
" E.g.",
" set linetype 999 lc rgb '#aabbcc'",
" plot $data with fillecurve fillcolor rgb '#aabbcc'",
""
#else /* JAPANESE_DOC */
"1 fig",
"?commands set terminal fig",
"?set terminal fig",
"?set term fig",
"?terminal fig",
"?term fig",
"?fig",
"?xfig",
" `fig` xfig Fig ",
" ",
" :",
" fig gnuplot 5.3 ",
" fig 3.2 ",
" / Xfig 3.2.6 ",
"",
" :",
" set terminal fig {monochrome | color}",
" {small | big | size {in|cm},{in|cm}}",
" {landscape | portrait}",
" {pointsmax }",
" {font \"{,}\"} {fontsize }",
" {textnormal | {textspecial texthidden textrigid}}",
" {{linewidth|lw} }",
"",
" ",
" set term fig color small landscape font \"Times Roman,10\" lw 1.0",
"",
" `size` * () ",
" () `size 5in,3in` ",
" `small` `size 5in,3in` (portrait 3in,5in) ",
" `big` `size 8in,5in` ",
"",
" `pointsmax` ",
" ",
" (: version 5.2.7 5.4.3 )",
"",
" `font` ",
" 35 PostScript ",
" ",
" `textnormal` postscript ",
" `textspecial` LaTeX special ",
" `texthidden`, `textrigid` ",
" ",
"",
" `linewidth` linewidth ",
"",
" `fig` `plot` `point` ",
" (`pointtype` ) % 100 50 ",
" % 5 ",
" ( % 10 < 5 ) ",
" ",
" 50 - 59: ",
" 60 - 69: ",
" 70 - 79: ",
" 80 - 89: ",
" 90 - 99: ",
" ",
"",
" RGB ",
" ",
" : `colornames`",
" :",
" set linetype 999 lc rgb '#aabbcc'",
" plot $data with fillecurve fillcolor rgb '#aabbcc'",
""
#endif /* JAPANESE_DOC */
END_HELP(fig)
START_HELP(ggi)
#ifndef JAPANESE_DOC
"1 ggi",
"?commands set terminal ggi",
"?set terminal ggi",
"?set term ggi",
"?terminal ggi",
"?term ggi",
"?ggi",
" Legacy terminal driver for the GGI (General Graphics Interface) project."
"",
" Syntax:",
" set terminal ggi [acceleration ] [[mode] {mode}]",
"",
" In X the window cannot be resized using window manager handles, but the",
" mode can be given with the mode option, e.g.:",
" - V1024x768",
" - V800x600",
" - V640x480",
" - V320x200",
" Please refer to the ggi documentation for other modes. The 'mode' keyword",
" is optional. It is recommended to select the target by environment variables",
" as explained in the libggi manual page. To get DGA on X, you should for",
" example",
" bash> export GGI_DISPLAY=DGA",
" csh> setenv GGI_DISPLAY DGA",
"",
" 'acceleration' is only used for targets which report relative pointer",
" motion events (e.g. DGA) and is a strictly positive integer multiplication",
" factor for the relative distances. The default for acceleration is 7.",
"",
" Examples:",
" set term ggi acc 10",
" set term ggi acc 1 mode V1024x768",
" set term ggi V1024x768"
#else /* JAPANESE_DOC */
"1 ggi",
"?commands set terminal ggi",
"?set terminal ggi",
"?set term ggi",
"?terminal ggi",
"?term ggi",
"?ggi",
" GGI (General Graphics Interface) (legacy) ",
" ",
"",
" :",
" set terminal ggi [acceleration ] [[mode] {mode}]",
"",
" X ",
" mode ",
" :",
" - V1024x768",
" - V800x600",
" - V640x480",
" - V320x200",
" ggi (libggi) ",
" `mode` libggi ",
" ",
" X DGA ",
" bash> export GGI_DISPLAY=DGA",
" csh> setenv GGI_DISPLAY DGA",
"",
" `acceleration` ",
" ( DGA) (",
" ) acceleration 7 ",
"",
" :",
" set term ggi acc 10",
" set term ggi acc 1 mode V1024x768",
" set term ggi V1024x768"
#endif /* JAPANESE_DOC */
END_HELP(ggi)
START_HELP(gif)
#ifndef JAPANESE_DOC
"1 gif",
"?commands set terminal gif",
"?set terminal gif",
"?set term gif",
"?terminal gif",
"?term gif",
"?gif",
" Syntax:",
" set terminal gif ",
" {{no}enhanced}",
" {{no}transparent} {rounded|butt}",
" {linewidth } {dashlength
}",
" {tiny | small | medium | large | giant}",
" {font \" {,}\"} {fontscale }",
" {size ,} {{no}crop}",
" {background }",
" {animate {delay } {loop } {optimize}}",
"",
" PNG, JPEG and GIF images are created using the external library libgd.",
" GIF plots may be viewed interactively by piping the output to the",
" 'display' program from the ImageMagick package as follows:",
" set term gif",
" set output '| display gif:-'",
" You can view the output from successive plot commands interactively by typing",
" in the display window. To save the current plot to a file,",
" left click in the display window and choose `save`.",
"",
" `transparent` instructs the driver to make the background color transparent.",
" Default is `notransparent`.",
"",
" The `linewidth` and `dashlength` options are scaling factors that affect all",
" lines drawn, i.e. they are multiplied by values requested in various drawing",
" commands.",
"",
" `butt` instructs the driver to use a line drawing method that does",
" not overshoot the desired end point of a line. This setting is only",
" applicable for line widths greater than 1. This setting is most useful when",
" drawing horizontal or vertical lines. Default is `rounded`.",
"",
" The output plot size is given in pixels---it defaults to 640x480.",
" Please see additional information under `canvas` and `set size`.",
" Blank space at the edges of the finished plot may be trimmed using the `crop`",
" option, resulting in a smaller final image size. Default is `nocrop`.",
"",
"2 animate",
"?set term gif animate",
"?term gif animate",
"?gif animate",
"?animate",
"",
" set term gif animate {delay } {loop } {{no}optimize}}",
"",
" The gif terminal `animate` option creates a single gif file containing",
" multiple frames. The delay between display of successive frames may be",
" specified in units of 1/100 second (default 5), but this value may or may",
" not be honored accurately by a program used to view the animation later.",
" The number of animation loops during playback can be specified, with the",
" default of 0 meaning unlimited looping. Again this value may or may not be",
" honored by the program later used for viewing.",
" An animation sequence is terminated by the next `set output` or `set term`",
" command.",
"",
" Example showing continuous rotation:",
" set term gif animate loop 0",
" set output 'rotating_surface.gif'",
" do for [ang=1:359] {",
" set view 60, ang",
" splot f(x,y) with pm3d",
" }",
" unset output",
"",
"3 optimize",
"?set term gif animate optimize",
"?gif animate optimize",
" set term gif animate optimize",
"",
" The `optimize` option [DEPRECATED] is passed to the gd library when the",
" output file is opened. It has two effects on the animation.",
"",
" 1) A single color map is used for the entire animation. This requires",
" that all colors used in any frame of the animation are already",
" defined in the first frame.",
"",
" 2) If possible, only the portions of a frame that differ from the",
" previous frame are stored in the animation file. This space saving",
" may not be possible if the animation uses transparency.",
"",
" Both of these optimizations are intended to produce a smaller output file,",
" but the decrease in size is probably only significant for long animations.",
" Caveat: The implementation of optimization in libgd is known to be buggy.",
" Therefore use of this option in gnuplot is not recommended.",
"",
"2 fonts",
"?set term gif fonts",
"",
" The details of font selection are complicated.",
" For more information please see the separate section under `fonts gd`.",
"",
" Examples:",
"",
" set terminal gif medium noenhanced size 640,480 background '#ffffff'",
"",
" Use the medium size built-in non-scaleable, non-rotatable font.",
" Enhanced text mode will not work with this font.",
" Use white (24 bit RGB in hexadecimal) for the non-transparent background.",
"",
" set terminal gif font arial 14",
"",
" Searches for a font with face name 'arial' and sets the font size to 14pt.",
""
#else /* JAPANESE_DOC */
"1 gif",
"?commands set terminal gif",
"?set terminal gif",
"?set term gif",
"?terminal gif",
"?term gif",
"?gif",
" :",
" set terminal gif ",
" {{no}enhanced}",
" {{no}transparent} {rounded|butt}",
" {linewidth } {dashlength
}",
" {tiny | small | medium | large | giant}",
" {font \" {,}\"} {fontscale }",
" {size ,} {{no}crop}",
" {background }",
" {animate {delay } {loop } {optimize}}",
"",
" PNG, JPEG, GIF libgd GIF",
" ImageMagick 'display' ",
" :",
" set term gif",
" set output '| display gif:-'",
" display ",
" ",
" display `save` ",
"",
" `transparent` (transparent) ",
" `notransparent` ",
"",
" `linewidth` `dashlength` ",
" ",
" ",
"",
" `butt` ",
" 1 ",
" ",
" `rounded` () ",
"",
" 640x480 ",
" : `canvas`, `set size`",
" `crop` ",
" `nocrop` ",
"",
"2 animate",
"?set term gif animate",
"?term gif animate",
"?gif animate",
"?animate",
"",
" set term gif animate {delay } {loop } {{no}optimize}}",
"",
" gif `animate` gif",
" 1/100 ",
" ( 5)",
" ",
" 0 ",
" ",
" ",
" `set output` `set term` ",
" ",
"",
" :",
" set term gif animate loop 0",
" set output 'rotating_surface.gif'",
" do for [ang=1:359] {",
" set view 60, ang",
" splot f(x,y) with pm3d",
" }",
" unset output",
"",
"3 optimize",
"?set term gif animate optimize",
"?gif animate optimize",
" set term gif animate optimize",
"",
" [] `optimize` gd ",
" 2 ",
"",
" 1) ",
" ",
" ",
"",
" 2) ",
" ",
" ",
"",
" ",
" ",
" : libgd gnuplot",
" ",
"",
"2 fonts",
"?set term gif fonts",
"",
" ",
" `fonts gd` ",
" ",
"",
" :",
"",
" set terminal gif medium noenhanced size 640,480 background '#ffffff'",
"",
" medium ",
" (enhanced text) ",
" (16 24bit RGB)",
" ",
"",
" set terminal gif font arial 14",
"",
" 'arial' ",
" 14pt ",
""
#endif /* JAPANESE_DOC */
END_HELP(gif)
START_HELP(gpic)
#ifndef JAPANESE_DOC
"1 gpic",
"?commands set terminal gpic",
"?set terminal gpic",
"?set term gpic",
"?terminal gpic",
"?term gpic",
"?gpic",
" Note: Legacy terminal (present only if gnuplot was configured --with-gpic).",
" The `gpic` terminal driver generates GPIC graphs in the Free Software",
" Foundations's \"groff\" package. The default size is 5 x 3 inches. The only",
" option is the origin, which defaults to (0,0).",
"",
" Syntax:",
" set terminal gpic { }",
"",
" where `x` and `y` are in inches.",
"",
" A simple graph can be formatted using",
"",
" groff -p -mpic -Tps file.pic > file.ps.",
"",
" The output from pic can be pipe-lined into eqn, so it is possible to put",
" complex functions in a graph with the `set label` and `set {x/y}label`",
" commands. For instance,",
"",
" set ylab '@space 0 int from 0 to x alpha ( t ) roman d t@'",
"",
" will label the y axis with a nice integral if formatted with the command:",
"",
" gpic filename.pic | geqn -d@@ -Tps | groff -m[macro-package] -Tps",
" > filename.ps",
"",
" Figures made this way can be scaled to fit into a document. The pic language",
" is easy to understand, so the graphs can be edited by hand if need be. All",
" co-ordinates in the pic-file produced by `gnuplot` are given as x+gnuplotx",
" and y+gnuploty. By default x and y are given the value 0. If this line is",
" removed with an editor in a number of files, one can put several graphs in",
" one figure like this (default size is 5.0x3.0 inches):",
"",
" .PS 8.0",
" x=0;y=3",
" copy \"figa.pic\"",
" x=5;y=3",
" copy \"figb.pic\"",
" x=0;y=0",
" copy \"figc.pic\"",
" x=5;y=0",
" copy \"figd.pic\"",
" .PE",
"",
" This will produce an 8-inch-wide figure with four graphs in two rows on top",
" of each other.",
"",
" One can also achieve the same thing by specifying x and y in the command",
"",
" set terminal gpic x y",
""
#else /* JAPANESE_DOC */
"1 gpic",
"?commands set terminal gpic",
"?set terminal gpic",
"?set term gpic",
"?terminal gpic",
"?term gpic",
"?gpic",
" : (legacy) (configure --with-gpic )",
" `gpic` FSF (the Free Software Foundations) \"groff\" ",
" GPIC 5 x 3",
" (0,0)",
" ",
"",
" :",
" set terminal gpic { }",
"",
" `x` `y` ",
"",
" ",
"",
" groff -p -mpic -Tps file.pic > file.ps",
"",
" pic eqn 'set label' ",
" `set {x/y}label` ",
" ",
"",
" set ylab '@space 0 int from 0 to x alpha ( t ) roman d t@'",
"",
" y ",
"",
" gpic filename.pic | geqn -d@@ -Tps | groff -m[macro-package] -Tps",
" > filename.ps",
"",
" ",
" pic ",
" `gnuplot` pic x+gnuplotx,",
" y+gnuploty x, y 0 ",
" x,y 0 ",
" (",
" 5.0x3.0 ):",
"",
" .PS 8.0",
" x=0;y=3",
" copy \"figa.pic\"",
" x=5;y=3",
" copy \"figb.pic\"",
" x=0;y=0",
" copy \"figc.pic\"",
" x=5;y=0",
" copy \"figd.pic\"",
" .PE",
"",
" 2 2 4 8 ",
" ",
"",
" x, y ",
"",
" set terminal gpic x y",
""
#endif /* JAPANESE_DOC */
END_HELP(gpic)
START_HELP(grass)
#ifndef JAPANESE_DOC
"1 grass",
"?commands set terminal grass",
"?set terminal grass",
"?set term grass",
"?terminal grass",
"?term grass",
"?grass",
" Note: legacy terminal.",
" The `grass` terminal driver gives `gnuplot` capabilities to users of the ",
" GRASS geographic information system. Contact grassp-list@moon.cecer.army.mil",
" for more information. Pages are written to the current frame of the GRASS",
" Graphics Window. There are no options."
#else /* JAPANESE_DOC */
"1 grass",
"?commands set terminal grass",
"?set terminal grass",
"?set term grass",
"?terminal grass",
"?term grass",
"?grass",
" : (legacy) ",
" `grass` GRASS `gnuplot` ",
" grassp-list@moon.cecer.army.mil",
" GRASS ",
" "
#endif /* JAPANESE_DOC */
END_HELP(grass)
START_HELP(hpgeneric)
#ifndef JAPANESE_DOC
"1 HP terminals",
" Gnuplot provides two generic terminals for old Hewlett-Packard pen plotters",
" and printers. The HPGL printer control language was introduced in 1974 and is",
" recognized by many plotters and printers from that era. See `set term hpgl`.",
" The PCL5 printer control language was introduced in 1990 and became standard",
" for many devices by HP and others. See `set term pcl5`.",
" Both of these terminals are included in gnuplot by default.",
"",
" There are also legacy terminals to support specific plotters (hp26 hp2648),",
" inkjet printers (hp500c), and early laserjet printers (hplj hpljii).",
" These are not included unless you modify the source code file `term.h`.",
""
#else /* JAPANESE_DOC */
"1 HP terminals",
" gnuplot Hewlett-Packard 2 ",
" HPGL 1974 ",
" : `set term hpgl`",
" PCL5 1990 HP ",
" : `set term pcl5`",
" 2 gnuplot ",
"",
" (hp26 hp2648), (hp500c)",
" (hplj hpljii) ",
" `term.h` ",
""
#endif /* JAPANESE_DOC */
END_HELP(hpgeneric)
START_HELP(hpgl)
#ifndef JAPANESE_DOC
"1 hpgl",
"?commands set terminal hpgl",
"?set terminal hpgl",
"?set term hpgl",
"?terminal hpgl",
"?term hpgl",
"?hpgl",
" Syntax:",
" set terminal hpgl {} {eject} {fontscale }",
"",
" The `hpgl` driver produces HPGL output for Hewlett Packard pen plotters",
" like the HP7475A and many other plotters dating back to the 1970s.",
" Also, HPGL graphics can be imported by many software packages.",
" The HPGL command language was largely superseded in later printers by the",
" PCL command language. See `set term pcl5`.",
"",
" Terminal options control the number of pens used and whether or not the",
" plotter ejects a page when done. The default is to use 6 pens and",
" not eject the page.",
"",
" All text is drawn in a uniform size. The `fontscale` option applies",
" a scale factor to make this size larger or smaller.",
" If gnuplot's current encoding is set to either iso_8859_1 cp850,",
" non-ascii characters are translated for handling by some printer models",
" that support the corresponding character set. If your printer model",
" does not support this, do not set these encodings.",
""
#else /* JAPANESE_DOC */
"1 hpgl",
"?commands set terminal hpgl",
"?set terminal hpgl",
"?set term hpgl",
"?terminal hpgl",
"?term hpgl",
"?hpgl",
" :",
" set terminal hpgl {} {eject} {fontscale }",
"",
" `hpgl` 1970 HP7475A ",
" Hewlett Packard HPGL ",
" HPGL ",
" HPGL PCL ",
" : `set term pcl5`",
"",
" terminal ",
" (eject) 6 ",
" ",
"",
" `fontscale` ",
" ",
" gnuplot iso_8859_1 cp850 ",
" ",
" ",
" ",
" ",
""
#endif /* JAPANESE_DOC */
END_HELP(hpgl)
START_HELP(imagen)
#ifndef JAPANESE_DOC
"1 imagen",
"?commands set terminal imagen",
"?set terminal imagen",
"?set term imagen",
"?terminal imagen",
"?term imagen",
"?imagen",
" The `imagen` terminal driver supports Imagen laser printers. It is capable",
" of placing multiple graphs on a single page.",
"",
" Syntax:",
" set terminal imagen {} {portrait | landscape}",
" {[,]}",
"",
" where `fontsize` defaults to 12 points and the layout defaults to `landscape`.",
" `` and `` are the number of graphs in the horizontal and",
" vertical directions; these default to unity.",
"",
" Example:",
" set terminal imagen portrait [2,3]",
"",
" puts six graphs on the page in three rows of two in portrait orientation."
#else /* JAPANESE_DOC */
"1 imagen",
"?commands set terminal imagen",
"?set terminal imagen",
"?set term imagen",
"?terminal imagen",
"?term imagen",
"?imagen",
" `imagen` Imagen 1 ",
" ",
"",
" :",
" set terminal imagen {} {portrait | landscape}",
" {[,]}",
"",
" `fontsize` 12 ",
" `landscape` `` `` ",
" 1 ",
"",
" :",
" set terminal imagen portrait [2,3]",
"",
" 1 6 2 3 (portrait)",
" "
#endif /* JAPANESE_DOC */
END_HELP(imagen)
START_HELP(jpeg)
#ifndef JAPANESE_DOC
"1 jpeg",
"?commands set terminal jpeg",
"?set terminal jpeg",
"?set term jpeg",
"?terminal jpeg",
"?term jpeg",
"?jpeg",
" Syntax:",
" set terminal jpeg ",
" {{no}enhanced}",
" {{no}interlace}",
" {linewidth } {dashlength
} {rounded|butt}",
" {tiny | small | medium | large | giant}",
" {font \" {,}\"} {fontscale }",
" {size ,} {{no}crop}",
" {background }",
"",
" PNG, JPEG and GIF images are created using the external library libgd.",
" In most cases, PNG is to be preferred for single plots, and GIF for",
" animations. Both are loss-less image formats, and produce better image",
" quality than the lossy JPEG format. This is in particular noticeable",
" for solid color lines against a solid background, i.e. exactly the sort",
" of image typically created by gnuplot.",
"",
" The `interlace` option creates a progressive JPEG image.",
" Default is `nointerlace`.",
"",
" The `linewidth` and `dashlength` options are scaling factors that affect all",
" lines drawn, i.e. they are multiplied by values requested in various drawing",
" commands.",
"",
" `butt` instructs the driver to use a line drawing method that does",
" not overshoot the desired end point of a line. This setting is only",
" applicable for line widths greater than 1. This setting is most useful when",
" drawing horizontal or vertical lines. Default is `rounded`.",
"",
" The details of font selection are complicated.",
" Two equivalent simple examples are given below:",
" set term jpeg font arial 11",
" set term jpeg font \"arial,11\"",
" For more information please see the separate section under `fonts`.",
"",
" The output plot size is given in pixels---it defaults to 640x480.",
" Please see additional information under `canvas` and `set size`.",
" Blank space at the edges of the finished plot may be trimmed using the `crop`",
" option, resulting in a smaller final image size. Default is `nocrop`.",
""
#else /* JAPANESE_DOC */
"1 jpeg",
"?commands set terminal jpeg",
"?set terminal jpeg",
"?set term jpeg",
"?terminal jpeg",
"?term jpeg",
"?jpeg",
" :",
" set terminal jpeg ",
" {{no}enhanced}",
" {{no}interlace}",
" {linewidth } {dashlength
} {rounded|butt}",
" {tiny | small | medium | large | giant}",
" {font \" {,}\"} {fontscale }",
" {size ,} {{no}crop}",
" {background }",
"",
" PNG, JPEG, GIF libgd ",
" PNG GIF ",
" JPEG ",
" ",
" gnuplot ",
"",
" `interlace` JPEG ",
" `nointerlace` ",
"",
" `linewidth` `dashlength` ",
" ",
" ",
"",
" `butt` ",
" 1 ",
" ",
" `rounded` () ",
"",
" ",
" :",
" set term jpeg font arial 11",
" set term jpeg font \"arial,11\"",
" `fonts` ",
" ",
"",
" 640x480 ",
" : `canvas`, `set size`",
" `crop` ",
" `nocrop` ",
""
#endif /* JAPANESE_DOC */
END_HELP(jpeg)
START_HELP(latex)
#ifndef JAPANESE_DOC
"1 latex",
"?set terminal latex",
"?set term latex",
"?terminal latex",
"?term latex",
"?latex",
"?set terminal emtex",
"?set terminal eepic",
"?set terminal tpic",
"?set term emtex",
"?set term eepic",
"?set term tpic",
"?terminal emtex",
"?terminal eepic",
"?terminal tpic",
"?emtex",
"?eepic",
"?tpic",
" Gnuplot provides a variety of terminals for use with TeX/LaTeX.",
"",
" (1) TeX/LaTeX compatible terminals based on use of PostScript",
" See `epslatex`, `pslatex`, and `pstricks`.",
"",
" (2) TeX/LaTeX compatible terminals based on cairo graphics",
" See `cairolatex`.",
"",
" (3) The `tikz` terminal uses an external lua script (see `lua`)",
" to produce files for the PGF and TikZ packages.",
" Use the command `set term tikz help` to print terminal options.",
"",
" (4) The `pict2e` terminal (added in version 5.4) replaces a set of legacy",
" terminals `latex`, `emtex`, `eepic`, and `tpic` present in older versions",
" of gnuplot. See `pict2e`.",
"",
" (5) Others, see `context`, legacy terminals texdraw and mp (metapost).",
"",
" A summary of TeX-friendly terminals is available here:",
"^ ",
" http://www.gnuplot.info/docs/latex_demo.pdf",
"^ ",
""
#else /* JAPANESE_DOC */
"1 latex",
"?set terminal latex",
"?set term latex",
"?terminal latex",
"?term latex",
"?latex",
"?set terminal emtex",
"?set terminal eepic",
"?set terminal tpic",
"?set term emtex",
"?set term eepic",
"?set term tpic",
"?terminal emtex",
"?terminal eepic",
"?terminal tpic",
"?emtex",
"?eepic",
"?tpic",
" gnuplot TeX/LaTeX ",
"",
" (1) PostScript TeX/LaTeX ",
" : `epslatex`, `pslatex`, `pstricks`",
"",
" (2) cairo TeX/LaTeX ",
" : `cairolatex`",
"",
" (3) `tikz` lua (: `lua`) ",
" PGF TikZ ",
" `set term tikz help` ",
"",
" (4) `pict2e` ( 5.4 ) gnuplot ",
" `latex`, `emtex`, `eepic`, `tpic` ",
" : `pict2e`",
"",
" (5) : `context` texdrawmp",
" (metapost)",
"",
" TeX :",
"^ ",
" http://www.gnuplot.info/docs/latex_demo.pdf",
"^ ",
""
#endif /* JAPANESE_DOC */
END_HELP(latex)
START_HELP(linux)
#ifndef JAPANESE_DOC
"1 linux console",
"?set terminal linux",
"?set terminal vgagl",
"?linux console",
"?console",
"=linux console",
"=console",
"=sixel",
"=vgagl (linux console)",
"=yaft",
" Older gnuplot versions required special terminals `linux` or `vgagl`",
" in order to display graphics on the linux console, i.e. in the absence of",
" X11 or other windowing environment. These terminals have been deprecated.",
"",
" The recommended way to run gnuplot from the linux console is now to use a",
" console terminal emulator such as yaft (https://github.com/uobikiemukot/yaft)",
" that supports sixel graphics. With yaft as your console terminal you can",
" run gnuplot and select a terminal with sixel output. See `sixelgd`.",
" As a fall-back option you could use `set term dumb`, but sixel graphics",
" are much nicer."
#else /* JAPANESE_DOC */
"1 linux cosole",
"?set terminal linux",
"?set terminal vgagl",
"?linux console",
"?console",
"=linux console",
"=console",
"=sixel",
"=vgagl (linux console)",
"=yaft",
" gnuplot linux X11 ",
" `linux`",
" `vgagl` ",
" ",
"",
" gnuplot linux sixel",
" yaft (https://github.com/uobikiemukot/yaft)",
" yaft ",
" gnuplot sixel ",
" : `sixelgd`",
" `set term dumb` sixel",
" "
#endif /* JAPANESE_DOC */
END_HELP(linux)
START_HELP(lua)
#ifndef JAPANESE_DOC
"1 lua",
"?commands set terminal lua",
"?set terminal lua",
"?set term lua",
"?terminal lua",
"?term lua",
"?lua",
" The `lua` generic terminal driver works in conjunction with an",
" external Lua script to create a target-specific plot file.",
" Currently the only supported target is TikZ -> pdflatex.",
"",
" Information about Lua is available at http://www.lua.org .",
"",
" Syntax:",
" set terminal lua | \"\"",
" { ...}",
" {help}",
"",
" A 'target name' or 'file name' (in quotes) for a script is mandatory.",
" If a 'target name' for the script is given, the terminal will look for",
" \"gnuplot-.lua\" in the local directory and on failure in",
" the environmental variable GNUPLOT_LUA_DIR.",
"",
" All arguments will be provided to the selected script for further",
" evaluation. E.g. 'set term lua tikz help' will cause the script itself",
" to print additional help on options and choices for the script.",
#else /* JAPANESE_DOC */
"1 lua",
"?commands set terminal lua",
"?set terminal lua",
"?set term lua",
"?terminal lua",
"?term lua",
"?lua",
" `lua` ",
" Lua ",
" TikZ -> pdflatex ",
"",
" Lua http://www.lua.org ",
"",
" :",
" set terminal lua | \"\"",
" { ...}",
" {help}",
"",
" 'target name' 'file name' ",
" 'target name' ",
" \"gnuplot-.lua\" ",
" GNUPLOT_LUA_DIR ",
"",
" ",
" 'set term lua tikz help' ",
" ",
#endif
#ifdef HAVE_LUA
#ifndef JAPANESE_DOC
#include "gnuplot-tikz.help"
#endif
#endif
""
END_HELP(lua)
START_HELP(pbm)
#ifndef JAPANESE_DOC
"1 pbm",
"?commands set terminal pbm",
"?set terminal pbm",
"?set term pbm",
"?terminal pbm",
"?term pbm",
"?pbm",
" Note: only available if gnuplot is configured --with-bitmap-terminals.",
" Syntax:",
" set terminal pbm {} {} {size ,}",
"",
" where is `small`, `medium`, or `large` and is `monochrome`,",
" `gray` or `color`. The default plot size is 640 pixels wide and 480 pixels",
" high. The output size is white-space padded to the nearest multiple of",
" 8 pixels on both x and y. This empty space may be cropped later if needed.",
"",
" The output of the `pbm` driver depends upon : `monochrome` produces a",
" portable bitmap (one bit per pixel), `gray` a portable graymap (three bits",
" per pixel) and `color` a portable pixmap (color, four bits per pixel).",
"",
" The output of this driver can be used with various image conversion and",
" manipulation utilities provided by NETPBM. Based on Jef Poskanzer's",
" PBMPLUS package, NETPBM provides programs to convert the above PBM formats",
" to GIF, TIFF, MacPaint, Macintosh PICT, PCX, X11 bitmap and many others.",
" Complete information is available at http://netpbm.sourceforge.net/.",
"",
" Examples:",
" set terminal pbm small monochrome # defaults",
" set terminal pbm color medium size 800,600",
" set output '| pnmrotate 45 | pnmtopng > tilted.png' # uses NETPBM"
#else /* JAPANESE_DOC */
"1 pbm",
"?commands set terminal pbm",
"?set terminal pbm",
"?set term pbm",
"?terminal pbm",
"?term pbm",
"?pbm",
" : gnuplot --with-bitmap-terminals ",
" :",
" set terminal pbm {} {} {size ,}",
"",
" `small` `medium` `large` `monochrome`",
" `gray` `color` 640 ",
" 480 x y 8 ",
" ",
" ",
"",
" `pbm` : `monochrome` portable",
" bitmap (PBM; 1 1 ) `gray` portable graymap (PGM;",
" 1 3 bit) `color` portable pixmap (PPM; 1 4 ",
" ) ",
"",
" NETPBM ",
" Jef Poskanzer PBMPLUS ",
" NETPBM PBM GIF, TIFF, MacPaint, Macintosh",
" PICT, PCX, X11 ",
" http://netpbm.sourceforge.net/ ",
"",
" :",
" set terminal pbm small monochrome # ",
" set terminal pbm color medium size 800,600",
" set output '| pnmrotate 45 | pnmtopng > tilted.png' # NETPBM "
#endif /* JAPANESE_DOC */
END_HELP(pbm)
START_HELP(pcl5)
#ifndef JAPANESE_DOC
"1 pcl5",
"?commands set terminal pcl5",
"?set terminal pcl5",
"?set term pcl5",
"?terminal pcl5",
"?term pcl5",
"?pcl5",
" The `pcl5` driver supports Hewlett Packard and other printers from the 1990s",
" and later.",
"",
" Syntax:",
" set terminal pcl5 {} {{no}enhanced}",
" {size | size {unit},{unit}}",
" {font \",\"} {pspoints | nopspoints}",
" {fontscale } {pointsize } {linewidth new;",
" my $c = $top->Canvas(-width => 800, -height => 600)->pack;",
" my $gnuplot = do \"plot.pl\";",
" $gnuplot->($c);",
" MainLoop;",
"",
" Or, for Perl/Tkx use a program like this:",
"",
" use Tkx;",
" my $top = Tkx::widget->new(\".\");",
" my $c = $top->new_tk__canvas(-width => 800, -height => 600);",
" $c->g_pack;",
" my $gnuplot = do \"plot.pl\";",
" $gnuplot->($c);",
" Tkx::MainLoop();",
"",
" Or, for Python/Tkinter use a program like this:",
"",
" from tkinter import *",
" from tkinter import font",
" root = Tk()",
" c = Canvas(root, width=800, height=600)",
" c.pack()",
" exec(open('plot.py').read())",
" gnuplot(c)",
" root.mainloop()",
"",
" Or, for Ruby/Tk use a program like this:",
"",
" require 'tk'",
" root = TkRoot.new { title 'Ruby/Tk' }",
" c = TkCanvas.new(root, 'width'=>800, 'height'=>600) { pack { } }",
" load('plot.rb')",
" gnuplot(c)",
" Tk.mainloop",
"",
" Or, for Rexx/Tk use a program like this:",
"",
" /**/",
" call RxFuncAdd 'TkLoadFuncs', 'rexxtk', 'TkLoadFuncs'",
" call TkLoadFuncs",
" cv = TkCanvas('.c', '-width', 800, '-height', 600)",
" call TkPack cv",
" call 'plot.rex' cv",
" do forever",
" cmd = TkWait()",
" if cmd = 'AWinClose' then leave",
" interpret 'call' cmd",
" end",
"",
" The code generated by `gnuplot` (in the above examples, this code is",
" written to \"plot.\") contains the following procedures:",
"",
" gnuplot(canvas)",
" takes the name of a canvas as its argument.",
" When called, it clears the canvas, finds the size of the canvas and",
" draws the plot in it, scaled to fit.",
"",
" gnuplot_plotarea()",
" returns a list containing the borders of the plotting area",
" (xleft, xright, ytop, ybot) in canvas screen coordinates."
" It works only for 2-dimensional plotting (`plot`).",
"",
" gnuplot_axisranges()",
" returns the ranges of the two axes in plot coordinates",
" (x1min, x1max, y1min, y1max, x2min, x2max, y2min, y2max).",
" It works only for 2-dimensional plotting (`plot`).",
"",
" You can create self-contained, minimal scripts using the `standalone`",
" option. The default is `input` which creates scripts which have to be",
" source'd (or loaded or called or whatever the adequate term is for the",
" language selected).",
"",
" If the `interactive` option is specified, mouse clicking on a line segment",
" will print the coordinates of its midpoint to stdout.",
" The user can supersede this behavior by supplying a procedure",
" user_gnuplot_coordinates which takes the following arguments:",
" win id x1s y1s x2s y2s x1e y1e x2e y2e x1m y1m x2m y2m,",
" i.e. the name of the canvas and the id of the line segment followed by the",
" coordinates of its start and end point in the two possible axis ranges; the",
" coordinates of the midpoint are only filled for logarithmic axes.",
"",
" By default the canvas is `transparent`, but an explicit background color",
" can be set with the `background` option.",
"",
" `rounded` sets line caps and line joins to be rounded;",
" `butt` is the default: butt caps and mitered joins.",
"",
" Text at arbitrary angles can be activated with the `rottext` option,",
" which requires Tcl/Tk 8.6 or later. The default is `norottext`.",
"",
" The `size` option tries to optimize the tic and font sizes for the given",
" canvas size. By default an output size of 800 x 600 pixels is assumed.",
"",
" `enhanced` selects `enhanced text` processing (default), but is currently",
" only available for Tcl.",
"",
" The `pixels` (default) option selects the failsafe pixel-by-pixel image",
" handler, see also `image pixels`.",
" The `externalimages` option saves images as external png images, which",
" are later loaded and scaled by the tkcanvas code. This option is only",
" available for Tcl and display may be slow in some situations since the",
" Tk image handler does not provide arbitrary scaling. Scripts need to source",
" the provided rescale.tcl.",
"",
" Interactive mode is not yet implemented for Python/Tk and Rexx/Tk.",
" Interactive mode for Ruby/Tk does not yet support user_gnuplot_coordinates."
#else /* JAPANESE_DOC */
"1 tkcanvas",
"?commands set terminal tkcanvas",
"?set terminal tkcanvas",
"?set term tkcanvas",
"?terminal tkcanvas",
"?term tkcanvas",
"?tkcanvas",
" Tk canvas widget ",
" : Tcl (), Perl, Python, Ruby, REXX",
"",
" :",
" set terminal tkcanvas {tcl | perl | perltkx | python | ruby | rexx}",
" {standalone | input}",
" {interactive}",
" {rounded | butt}",
" {nobackground | background }",
" {{no}rottext}",
" {size ,}",
" {{no}enhanced}",
" {externalimages | pixels}",
"",
" Tcl/Tk :",
"",
" package require Tk",
" # 2 ",
" package require img::png",
" source resize.tcl",
" source plot.tcl",
" canvas .c -width 800 -height 600",
" pack .c",
" gnuplot .c",
"",
" Perl/Tk :",
"",
" use Tk;",
" my $top = MainWindow->new;",
" my $c = $top->Canvas(-width => 800, -height => 600)->pack;",
" my $gnuplot = do \"plot.pl\";",
" $gnuplot->($c);",
" MainLoop;",
"",
" Perl/Tkx :",
"",
" use Tkx;",
" my $top = Tkx::widget->new(\".\");",
" my $c = $top->new_tk__canvas(-width => 800, -height => 600);",
" $c->g_pack;",
" my $gnuplot = do \"plot.pl\";",
" $gnuplot->($c);",
" Tkx::MainLoop();",
"",
" Python/Tkinter :",
"",
" from tkinter import *",
" from tkinter import font",
" root = Tk()",
" c = Canvas(root, width=800, height=600)",
" c.pack()",
" exec(open('plot.py').read())",
" gnuplot(c)",
" root.mainloop()",
"",
" Ruby/Tk :",
"",
" require 'tk'",
" root = TkRoot.new { title 'Ruby/Tk' }",
" c = TkCanvas.new(root, 'width'=>800, 'height'=>600) { pack { } }",
" load('plot.rb')",
" gnuplot(c)",
" Tk.mainloop",
"",
" Rexx/Tk :",
"",
" /**/",
" call RxFuncAdd 'TkLoadFuncs', 'rexxtk', 'TkLoadFuncs'",
" call TkLoadFuncs",
" cv = TkCanvas('.c', '-width', 800, '-height', 600)",
" call TkPack cv",
" call 'plot.rex' cv",
" do forever",
" cmd = TkWait()",
" if cmd = 'AWinClose' then leave",
" interpret 'call' cmd",
" end",
"",
" `gnuplot` (\"plot.\" ",
" ) :",
"",
" gnuplot(canvas)",
" canvas ",
" canvas canvas ",
" ",
"",
" gnuplot_plotarea()",
" canvas (xleft, xright, ytop, ybot)",
" ",
" 2 (`plot`) ",
"",
" gnuplot_axisranges()",
" 2 (x1min, x1max, y1min, y1max, x2min,",
" x2max, y2min, y2max) ",
" 2 (`plot`) ",
"",
" `standalone` ",
" `input` ",
" (load call ",
" )",
"",
" `interactive` ",
" ",
" user_gnuplot_coordinates ",
" ",
" :",
" win id x1s y1s x2s y2s x1e y1e x2e y2e x1m y1m x2m y2m,",
" canvas id2 ",
" ",
" ",
"",
" canvas `transparent` `background`",
" ",
"",
" `rounded` ",
" `butt` ",
"",
" `rottext` ",
" Tcl/Tk 8.6 `norottext` ",
"",
" `size` canvas",
" ",
" 800 x 600 ",
"",
" `enhanced` () ",
" Tcl ",
"",
" `pixels` () ",
" : `image pixels`",
" `externalimages` PNG ",
" tkcanvas Tcl ",
" Tk ",
" ",
" rescale.tcl ",
"",
" Python/Tk, Rexx/Tk Ryby/Tk",
" user_gnuplot_coordinates "
#endif /* JAPANESE_DOC */
END_HELP(tkcanvas)
START_HELP(webp)
#ifndef JAPANESE_DOC
"1 webp",
"?set terminal webp",
"?terminal webp",
"?set term webp",
"?term webp",
"?webp",
" The `webp` terminal generates either a single frame or an animation.",
" The actual drawing is done via cairo, a 2D graphics library, and pango,",
" a library for laying out and rendering text.",
"",
" Syntax:",
" set term webp",
" {size ,}",
" {font } {fontscale } {{no}enhanced}",
" {{no}transparent} {background ",
" {linewidth } {rounded|butt|square} {dashlength
}",
" {pointscale }",
"",
" {{no}animate {quality } {delay } {loop }}",
"",
" Individual frames produced by the webp terminal are first created as 32-bit",
" RGB + alpha channel images using routines shared with the pngcairo terminal.",
" See `set term pngcairo` for more details about font and terminal options.",
" The frames are then converted to webp format on output.",
"",
" The `animate` option produces a webp file containing multiple frames,",
" each one created by a separate `plot` or `splot` command. The animation",
" sequence is terminated by the next `set output` or `set terminal` command.",
"",
" `quality` (1..100) affects the size of the output file.",
" q values from 1 to 74 use lossy compression; smaller values produce a",
" smaller file at the cost of lost detail in the rendered image.",
" q values from 75 to 100 use lossless compression. All produce the same",
" image quality (lossless!). Larger values spend more computing time for",
" diminishing benefit in reduced file size.",
" The default is 75, lossless compression without excessive computation.",
"",
" The `delay` suboption sets the delay time in milliseconds between frames",
" during playback (default 50 milliseconds).",
"",
" The `loop` suboption specifies how many times the animation sequence should",
" be repeated during playback. The default (0) gives a continuous loop.",
""
#else /* JAPANESE_DOC */
"1 webp",
"?set terminal webp",
"?terminal webp",
"?set term webp",
"?term webp",
"?webp",
" `webp` ",
" 2 cairo ",
" pango ",
"",
" :",
" set term webp",
" {size ,}",
" {font } {fontscale } {{no}enhanced}",
" {{no}transparent} {background ",
" {linewidth } {rounded|butt|square} {dashlength
}",
" {pointscale }",
"",
" {{no}animate {quality } {delay } {loop }}",
"",
" pngcairo ",
" terminal :",
" `set terminal pngcairo`",
" webp ",
"",
" `animate` webp ",
" `plot` `splot` ",
" `set output` ",
" `set terminal` ",
"",
" `quality` (1..100) 1-74 q ",
" (loss) ",
" ",
" 75-100 q (lossless) ",
" (lossless!)",
" ",
" 75 ",
"",
" `delay` ",
" ( 50 )",
"",
" `loop` ",
" 0 ",
""
#endif /* JAPANESE_DOC */
END_HELP(webp)
START_HELP(windows)
#ifndef JAPANESE_DOC
"1 windows",
"?commands set terminal windows",
"?set terminal windows",
"?set term windows",
"?terminal windows",
"?term windows",
"?windows",
" The `windows` terminal is a fast interactive terminal driver that uses the",
" Windows GDI to draw and write text. The cross-platform `terminal wxt` and",
" `terminal qt` are also supported on Windows.",
"",
" Syntax:",
" set terminal windows {}",
" {color | monochrome}",
" {solid | dashed}",
" {rounded | butt}",
" {enhanced | noenhanced}",
" {font }",
" {fontscale }",
" {linewidth }",
" {pointscale }",
" {background }",
" {title \"Plot Window Title\"}",
" {{size | wsize} ,}",
" {position ,}",
" {docked {layout ,} | standalone}",
" {close}",
"",
" Multiple plot windows are supported: `set terminal win ` directs the",
" output to plot window number n.",
"",
" `color` and `monochrome` select colored or mono output,",
" `dashed` and `solid` select dashed or solid lines. Note that `color`",
" defaults to `solid`, whereas `monochrome` defaults to `dashed`.",
" `rounded` sets line caps and line joins to be rounded; `butt` is the",
" default, butt caps and mitered joins.",
" `enhanced` enables enhanced text mode features (subscripts,",
" superscripts and mixed fonts, see `enhanced text` for more information).",
" `` is in the format \",\", where \"\"",
" is the name of a valid Windows font, and is the size of the font",
" in points and both components are optional.",
" Note that in previous versions of gnuplot the `font` statement could be left",
" out and could be given as a number without double quotes. This is",
" no longer supported.",
" `linewidth`, `fontscale`, `pointscale` can be used to scale the width of",
" lines, the size of text, or the size of the point symbols.",
" `title` changes the title of the graph window.",
" `size` defines the width and height of the window's drawing area in pixels,",
" `wsize` defines the actual size of the window itself and `position` defines",
" the origin of the window i.e. the position of the top left corner on the",
" screen (again in pixel). These options override any default settings",
" from the `wgnuplot.ini` file.",
"",
" `docked` embeds the graph window in the wgnuplot text window and the `size`",
" and `position` options are ignored. Note that `docked` is not available for",
" console-mode gnuplot. Setting this option changes the default for new"
" windows. The initial default is `standalone`. The `layout` option allows to",
" reserve a minimal number of columns and rows for graphs in docked mode. If",
" there are more graphs than fit the given layout, additional rows will be added.",
" Graphs are sorted by the numerical id, filling rows first.",
"",
" Other options may be changed using the `graph-menu` or the initialization file",
" `wgnuplot.ini`.",
"",
/* FIXME: Move to persist section */
" The Windows version normally terminates immediately as soon as the end of",
" any files given as command line arguments is reached (i.e. in non-interactive",
" mode), unless you specify `-` as the last command line option.",
" It will also not show the text-window at all, in this mode, only the plot.",
" By giving the optional argument `-persist` (same as for gnuplot under x11;",
" former Windows-only options `/noend` or `-noend` are still accepted as well),",
" will not close gnuplot. Contrary to gnuplot on other operating systems,",
" gnuplot's interactive command line is accessible after the -persist option.",
"",
" The plot window remains open when the gnuplot terminal is changed with a",
" `set term` command. The plot window can be closed with `set term windows close`.",
"",
" `gnuplot` supports different methods to create printed output on Windows,",
" see `windows printing`. The windows terminal supports data exchange with ",
" other programs via clipboard and EMF files, see `graph-menu`. You can also",
" use the `terminal emf` to create EMF files.",
"2 graph-menu",
"?commands set terminal windows graph-menu",
"?set terminal windows graph-menu",
"?set term windows graph-menu",
"?windows graph-menu",
"?graph-menu",
" The `gnuplot graph` window has the following options on a pop-up menu",
" accessed by pressing the right mouse button(*) or selecting `Options` from the",
" system menu or the toolbar:",
"",
" `Copy to Clipboard` copies a bitmap and an enhanced metafile picture.",
"",
" `Save as EMF...` allows the user to save the current graph window as",
" enhanced metafile (EMF or EMF+).",
"",
" `Save as Bitmap...` allows the user to save a copy of the graph as bitmap",
" file.",
"",
" `Print...` prints the graphics windows using a Windows printer driver and",
" allows selection of the printer and scaling of the output."
" See also `windows printing`.",
"",
" `Bring to Top` when checked raises the graph window to the top after every",
" plot.",
"",
" `Color` when checked enables color output. When unchecked it forces",
" all grayscale output. This is e.g. useful to test appearance of monochrome",
" printouts.",
"",
#ifdef USE_WINGDI
" `GDI backend` draws to the screen using Windows GDI. This is the classical",
" windows terminal, which is fast, but lacks many features such as",
" anti-aliasing, oversampling and full transparency support. It is now",
" deprecated.",
#else
" The `GDI backend` which uses the classic GDI API is deprecated and has been",
" disabled in this version.",
#endif
"",
" `GDI+ backend` draws to the screen using the GDI+ Windows API. It supports",
" full antialiasing, oversampling, transparency and custom dash patterns.",
" This was the default in versions 5.0 and 5.2.",
"",
" `Direct2D backend` uses Direct2D & DirectWrite APIs to draw. It uses graphic",
" card acceleration and is hence typically much faster. Since Direct2D can"
" not create EMF data, saving and copying to clipboard of EMF data fall back"
" to GDI+ while bitmap data is generated by D2d.",
" This is the recommended and default backend since version 5.3.",
"",
" `Oversampling` draws diagonal lines at fractional pixel positions to avoid",
" \"wobbling\" effects. Vertical or horizontal lines are still snapped",
" to integer pixel positions to avoid blurry lines.",
"",
" `Antialiasing` enables smoothing of lines and edges. Note that this slows",
" down drawing. `Antialiasing of polygons` is enabled by default but might",
" slow down drawing with the GDI+ backend.",
"",
" `Fast rotation` switches antialiasing temporarily off while rotating the",
" graph with the mouse. This speeds up drawing considerably at the expense",
" of an additional redraw after releasing the mouse button.",
"",
" `Background...` sets the window background color.",
"",
" `Choose Font...` selects the font used in the graphics window.",
"",
#ifdef WIN_CUSTOM_PENS
" `Line Styles...` allows customization of the line colors and styles.",
"",
#endif
" `Update wgnuplot.ini` saves the current window locations, window sizes, text",
" window font, text window font size, graph window font, graph window font",
" size, background color to the initialization file `wgnuplot.ini`.",
"",
"^",
" (*) Note that this menu is only available by pressing the right mouse button",
" with `unset mouse`.",
"2 printing",
"?commands set terminal windows printing",
"?set terminal windows printing",
"?set term windows printing",
"?windows printing",
"?printing",
"?screendump",
" In order of preference, graphs may be printed in the following ways:",
"",
" `1.` Use the `gnuplot` command `set terminal` to select a printer and `set",
" output` to redirect output to a file.",
"",
" `2.` Select the `Print...` command from the `gnuplot graph` window. An extra",
" command `screendump` does this from the text window.",
"",
" `3.` If `set output \"PRN\"` is used, output will go to a temporary file. When",
" you exit from `gnuplot` or when you change the output with another `set",
" output` command, a dialog box will appear for you to select a printer port.",
" If you choose OK, the output will be printed on the selected port, passing",
" unmodified through the print manager. It is possible to accidentally (or",
" deliberately) send printer output meant for one printer to an incompatible",
" printer.",
"",
"2 text-menu", /* FIXME: this is not really related to the windows driver, but the windows platform */
"?commands set terminal windows text-menu",
"?set terminal windows text-menu",
"?set term windows text-menu",
"?windows text-menu",
"?text-menu",
" The `gnuplot text` window has the following options on a pop-up menu accessed",
" by pressing the right mouse button or selecting `Options` from the system",
" menu:",
"",
" `Copy to Clipboard` copies marked text to the clipboard.",
"",
" `Paste` copies text from the clipboard as if typed by the user.",
"",
" `Choose Font...` selects the font used in the text window.",
"",
" `System Colors` when selected makes the text window honor the System Colors",
" set using the Control Panel. When unselected, text is black or blue on a",
" white background.",
"",
" `Wrap long lines` when selected lines longer than the current window width",
" are wrapped.",
"",
" `Update wgnuplot.ini` saves the current settings to the initialisation file",
" `wgnuplot.ini`, which is located in the user's application data directory.",
"",
"2 wgnuplot.mnu", /* FIXME: this is not really related to the windows driver, but the windows platform */
"?windows wgnuplot.mnu",
"?wgnuplot.mnu",
" If the menu file `wgnuplot.mnu` is found in the same directory as",
" `gnuplot`, then the menu specified in `wgnuplot.mnu` will be loaded.",
" Menu commands:",
"",
" [Menu] starts a new menu with the name on the following line.",
" [EndMenu] ends the current menu.",
" [--] inserts a horizontal menu separator.",
" [|] inserts a vertical menu separator.",
" [Button] puts the next macro on a push button instead of a menu.",
"",
" Macros take two lines with the macro name (menu entry) on the first line and",
" the macro on the second line. Leading spaces are ignored. Macro commands:",
"",
" [INPUT] Input string with prompt terminated by [EOS] or {ENTER}",
" [EOS] End Of String terminator. Generates no output.",
" [OPEN] Get name of a file to open, with the title of the dialog",
" terminated by [EOS], followed by a default filename terminated",
" by [EOS] or {ENTER}.",
" [SAVE] Get name of a file to save. Parameters like [OPEN]",
" [DIRECTORY] Get name of a directory, with the title of the dialog",
" terminated by [EOS] or {ENTER}",
"",
" Macro character substitutions:",
"",
" {ENTER} Carriage Return '\\r'",
" {TAB} Tab '\\011'",
" {ESC} Escape '\\033'",
" {^A} '\\001'",
" ...",
" {^_} '\\031'",
"",
" Macros are limited to 256 characters after expansion.",
"",
"2 wgnuplot.ini",
"?commands set terminal windows wgnuplot.ini",
"?set terminal windows wgnuplot.ini",
"?set term windows wgnuplot.ini",
"?windows wgnuplot.ini",
"?wgnuplot.ini",
" The Windows text window and the `windows` terminal will read some of their options from",
" the `[WGNUPLOT]` section of `wgnuplot.ini`.",
" This file is located in the user's application data directory. Here's a sample",
" `wgnuplot.ini` file:",
"",
" [WGNUPLOT]",
" TextOrigin=0 0",
" TextSize=640 150",
" TextFont=Consolas,9",
" TextWrap=1",
" TextLines=400",
" TextMaximized=0",
" SysColors=0",
" GraphOrigin=0 150",
" GraphSize=640 330",
" GraphFont=Tahoma,10",
" GraphColor=1",
" GraphToTop=1",
" GraphGDI+=1",
" GraphD2D=0",
" GraphGDI+Oversampling=1",
" GraphAntialiasing=1",
" GraphPolygonAA=1",
" GraphFastRotation=1",
" GraphBackground=255 255 255",
" DockVerticalTextFrac=350",
" DockHorizontalTextFrac=400",
#ifdef WIN_CUSTOM_PENS
" Border=0 0 0 0 0",
" Axis=192 192 192 2 2",
" Line1=0 0 255 0 0",
" Line2=0 255 0 0 1",
" Line3=255 0 0 0 2",
" Line4=255 0 255 0 3",
" Line5=0 0 128 0 4",
#endif
"",
"^
Text window options
",
"",
" These settings apply to the wgnuplot text-window only."
"",
" The `TextOrigin` and `TextSize` entries specify the location and size of the",
" text window. If `TextMaximized` is non-zero, the window will be maximized.",
"",
" The `TextFont` entry specifies the text window font and size.",
"",
" The `TextWrap` entry selects wrapping of long text lines.",
"",
" The `TextLines` entry specifies the number of (unwrapped) lines the internal",
" buffer of the text window can hold. This value currently cannot be changed",
" from within wgnuplot.",
"",
" See `text-menu`.",
"",
"^
Docked graph options
",
"",
" `DockVerticalTextFrac` and `DockHorizontalTextFrac` set the fraction of the",
" window reserved for the text window in permille of the vertical or horizontal",
" layout.",
"",
"^
Graph window options
",
"",
" The `GraphFont` entry specifies the font name and size in points.",
#ifdef WIN_CUSTOM_PENS
"",
" The five",
" numbers given in the `Border`, `Axis` and `Line` entries are the `Red`",
" intensity (0--255), `Green` intensity, `Blue` intensity, `Color Linestyle`",
" and `Mono Linestyle`. `Linestyles` are 0=SOLID, 1=DASH, 2=DOT, 3=DASHDOT,",
" 4=DASHDOTDOT. In the sample `wgnuplot.ini` file above, Line 2 is a green",
" solid line in color mode, or a dashed line in monochrome mode. The default",
" line width is 1 pixel. If `Linestyle` is negative, it specifies the width of",
" a SOLID line in pixels. Line1 and any linestyle used with the `points` style",
" must be SOLID with unit width.",
#endif
"",
" See `graph-menu`."
#else /* JAPANESE_DOC */
"1 windows",
"?commands set terminal windows",
"?set terminal windows",
"?set term windows",
"?terminal windows",
"?term windows",
"?windows",
" `windows` Windows GDI ",
" Windows `wxt`",
" `qt` ",
"",
" :",
" set terminal windows {}",
" {color | monochrome}",
" {solid | dashed}",
" {rounded | butt}",
" {enhanced | noenhanced}",
" {font }",
" {fontscale }",
" {linewidth }",
" {pointscale }",
" {background }",
" {title \"Plot Window Title\"}",
" {{size | wsize} ,}",
" {position ,}",
" {docked {layout ,} | standalone}",
" {close}",
"",
" : `set terminal win ` ",
" n ",
"",
" `color`, `monochrome` ",
" `dashed` `solid` `color` `solid` ",
" `monochrome` `dashed` ",
" `rounded` `butt` ",
" ",
" `enhanced` (enhanced text mode) (",
" ) : `enhanced text`",
" `` \",\" \"\" ",
" Windows `` ",
" ",
" gnuplot `font` ",
" ",
" ",
" `linewidth`, `fontscale`, `pointscale` ",
" ",
" `title` ",
" `size` `wsize` ",
" `position` ",
" ",
" `wgnuplot.ini` ",
"",
" `docked` wgnuplot ",
" `size` `position` `docked` ",
" gnuplot ",
" ",
" `standalone` ",
" `layout` ",
" ID",
" ",
"",
" `wgnuplot.ini` ",
" ",
"",
/* FIXME: Move to persist section */
" Windows ",
" `-` ",
" ",
" `-persist` (x11 ",
" gnuplot ; Windows `/noend` ",
" `-noend` ) gnuplot ",
" OS gnuplot -persist ",
" gnuplot ",
"",
" `set term` gnuplot ",
" `set term windows close` ",
" ",
"",
" `gnuplot` Windows ",
" : `windows printing`windows ",
" EMF ",
" : `graph-menu`EMF `emf` ",
" ",
"2 (graph-menu)",
"?commands set terminal windows graph-menu",
"?set terminal windows graph-menu",
"?set term windows graph-menu",
"?windows graph-menu",
"?graph-menu",
" `gnuplot graph` (*) ",
" `Options` ",
" :",
"",
" `Copy to Clipboard` EMF ",
"",
" `Save as EMF...` (EMF EMF+) ",
" ",
"",
" `Save as Bitmap...` ",
"",
" `Print...` Windows ",
" : `windows printing`",
"",
" `Bring to Top` ",
" ",
"",
" `Color` ",
" ",
"",
#ifdef USE_WINGDI
" `GDI backend` Windows GDI windows",
" ",
" ",
#else
" `GDI backend` GDI API ",
" ",
#endif
"",
" `GDI+ backend` GDI+ Windows API ",
" /",
" 5.0, 5.2 ",
"",
" `Direct2D backend` Direct2D DirectWrite API ",
" Direct2D",
" EMF EMF ",
" D2d GDI+ ",
" 5.3 ",
" ",
"",
" `Oversampling` ",
" ",
" ",
"",
" `Antialiasing` ",
" ",
" `Antialiasing of polygons` ",
" GDI+ ",
"",
" `Fast rotation` ",
" ",
" ",
"",
" `Background...` ",
"",
" `Choose Font...` ",
"",
#ifdef WIN_CUSTOM_PENS
" `Line Styles...` ",
"",
#endif
" `Update wgnuplot.ini` ",
" ",
" `wgnuplot.ini` ",
"",
"^",
" (*) `unset mouse` ",
" ",
"2 (printing)",
"?commands set terminal windows printing",
"?set terminal windows printing",
"?set term windows printing",
"?windows printing",
"?printing",
"?screendump",
" ",
"",
" `1.` `gnuplot` `set terminal` `set output`",
" ",
"",
" `2.` `gnuplot graph` `Print...` ",
" `screendump` ",
"",
" `3.` `set output \"PRN\"` `gnuplot`",
" `set output` ",
" () ",
" OK ",
" () ",
" ",
"",
"2 (text-menu)", /* FIXME: this is not really related to the windows driver, but the windows platform */
"?commands set terminal windows text-menu",
"?set terminal windows text-menu",
"?set term windows text-menu",
"?windows text-menu",
"?text-menu",
" `gnuplot text` ",
" `Options` ",
" :",
"",
" `Copy to Clipboard` ",
"",
" `Paste` ",
"",
" `Choose Font...` ",
"",
" `System Colors` ",
" ",
"",
" `Wrap long lines` ",
"",
" `Update wgnuplot.ini` ",
" `wgnuplot.ini` ",
"",
"2 wgnuplot.mnu", /* FIXME: this is not really related to the windows driver, but the windows platform */
"?windows wgnuplot.mnu",
"?wgnuplot.mnu",
" `wgnuplot.mnu` `gnuplot` ",
" `wgnuplot.mnu` ",
" :",
"",
" [Menu] ",
" [EndMenu] ",
" [--] ",
" [|] ",
" [Button] ",
"",
" 2 ()2 ",
" :",
"",
" [INPUT] [EOS] {ENTER} ",
" [EOS] (End Of String)",
" [OPEN] [EOS] ",
" [EOS] {ENTER} ",
" ",
" [SAVE] ([OPEN] )",
" [DIRECTORY] [EOS] {ENTER} ",
" "
"",
" :",
"",
" {ENTER} '\\r'",
" {TAB} '\\011'",
" {ESC} '\\033'",
" {^A} '\\001'",
" ...",
" {^_} '\\031'",
"",
" 256 ",
"",
"2 wgnuplot.ini",
"?commands set terminal windows wgnuplot.ini",
"?set terminal windows wgnuplot.ini",
"?set term windows wgnuplot.ini",
"?windows wgnuplot.ini",
"?wgnuplot.ini",
" Windows `windows` ",
" `wgnuplot.ini` `[WGNUPLOT]` ",
" ",
" `wgnuplot.ini` :",
"",
" [WGNUPLOT]",
" TextOrigin=0 0",
" TextSize=640 150",
" TextFont=Consolas,9",
" TextWrap=1",
" TextLines=400",
" TextMaximized=0",
" SysColors=0",
" GraphOrigin=0 150",
" GraphSize=640 330",
" GraphFont=Tahoma,10",
" GraphColor=1",
" GraphToTop=1",
" GraphGDI+=1",
" GraphD2D=0",
" GraphGDI+Oversampling=1",
" GraphAntialiasing=1",
" GraphPolygonAA=1",
" GraphFastRotation=1",
" GraphBackground=255 255 255",
" DockVerticalTextFrac=350",
" DockHorizontalTextFrac=400",
#ifdef WIN_CUSTOM_PENS
" Border=0 0 0 0 0",
" Axis=192 192 192 2 2",
" Line1=0 0 255 0 0",
" Line2=0 255 0 0 1",
" Line3=255 0 0 0 2",
" Line4=255 0 255 0 3",
" Line5=0 0 128 0 4",
#endif
"",
"^ ",
"",
" wgnuplot ",
"",
" `TextOrigin` `TextSize` ",
" `TextMaximized` 0 ",
"",
" `TextFont` ",
"",
" `TextWrap` ",
"",
" `TextLines` ()",
" wgnuplot ",
" ",
"",
" : `text-menu`",
"",
"^ ",
"",
" `DockVerticalTextFrac` `DockHorizontalTextFrac` ",
" ",
"",
"^ ",
"",
" `GraphFont` ",
#ifdef WIN_CUSTOM_PENS
"",
" `Border`, `Axis`, `Line` (0--255)",
" 5 ",
" (`linestyle`) 0=1=2=3=4=",
" `wgnuplot.ini` Line 2 ",
" 1 ",
" ",
" Line1 `points` 1 ",
" ",
#endif
"",
" : `graph-menu`"
#endif /* JAPANESE_DOC */
END_HELP(windows)
START_HELP(wxt)
#ifndef JAPANESE_DOC
"1 wxt",
"?set terminal wxt",
"?terminal wxt",
"?set term wxt",
"?term wxt",
"?wxt",
" The `wxt` terminal device generates output in a separate window. The window",
" is created by the wxWidgets library, where the 'wxt' comes from. The actual",
" drawing is done via cairo, a 2D graphics library, and pango, a library for",
" laying out and rendering text.",
"",
" Syntax:",
" set term wxt {}",
" {size ,} {position ,}",
" {background | nobackground}",
" {{no}enhanced}",
" {font } {fontscale }",
" {title \"title\"}",
" {linewidth } {butt|rounded|square}",
" {dashlength
}",
" {{no}persist}",
" {{no}raise}",
" {{no}ctrl}",
" {close}",
"",
" Multiple plot windows are supported: `set terminal wxt ` directs the",
" output to plot window number n.",
"",
" The default window title is based on the window number. This title can also",
" be specified with the keyword \"title\".",
"",
" Plot windows remain open even when the `gnuplot` driver is changed to a",
" different device. A plot window can be closed by pressing the letter 'q'",
" while that window has input focus, by choosing `close` from a window",
" manager menu, or with `set term wxt close`.",
"",
" The size of the plot area is given in pixels, it defaults to 640x384.",
" In addition to that, the actual size of the window also includes the space",
" reserved for the toolbar and the status bar.",
" When you resize a window, the plot is immediately scaled to fit in the",
" new size of the window. Unlike other interactive terminals, the `wxt`",
" terminal scales the whole plot, including fonts and linewidths, and keeps",
" its global aspect ratio constant, leaving an empty space painted in gray.",
" If you type `replot`, click the `replot` icon in the terminal toolbar or",
" type a new `plot` command, the new plot will completely fit in the window",
" and the font size and the linewidths will be reset to their defaults.",
"",
" The position option can be used to set the position of the plot window.",
" The position option only applies to the first plot after the `set term`",
" command.",
"",
" The active plot window (the one selected by `set term wxt `) is",
" interactive. Its behaviour is shared with other terminal types. See `mouse`",
" for details. It also has some extra icons, which are supposed to be",
" self-explanatory.",
"",
" This terminal supports an enhanced text mode, which allows font and other",
" formatting commands (subscripts, superscripts, etc.) to be embedded in labels",
" and other text strings. The enhanced text mode syntax is shared with other",
" gnuplot terminal types. See `enhanced` for more details.",
"",
" is in the format \"FontFace,FontSize\", i.e. the face and the size",
" comma-separated in a single string. FontFace is a usual font face name, such",
" as \'Arial\'. If you do not provide FontFace, the wxt terminal will use",
" \'Sans\'. FontSize is the font size, in points. If you do not provide it,",
" the wxt terminal will use a size of 10 points.",
" For example :",
" set term wxt font \"Arial,12\"",
" set term wxt font \"Arial\" # to change the font face only",
" set term wxt font \",12\" # to change the font size only",
" set term wxt font \"\" # to reset the font name and size",
"",
" The fonts are retrieved from the usual fonts subsystems. Under Windows,",
" those fonts are to be found and configured in the entry \"Fonts\" of the",
" control panel. Under UNIX, they are handled by \"fontconfig\".",
"",
" Pango, the library used to layout the text, is based on utf-8. Thus, the wxt",
" terminal has to convert from your encoding to utf-8. The default input",
" encoding is based on your \'locale\'. If you want to use another encoding,",
" make sure gnuplot knows which one you are using. See `encoding` for more",
" details.",
"",
" Pango may give unexpected results with fonts that do not respect the unicode",
" mapping. With the Symbol font, for example, the wxt terminal will use the map",
" provided by http://www.unicode.org/ to translate character codes to unicode.",
" Pango will do its best to find a font containing this character, looking for",
" your Symbol font, or other fonts with a broad unicode coverage, like the",
" DejaVu fonts. Note that \"the Symbol font\" is to be understood as the Adobe",
" Symbol font, distributed with Acrobat Reader as \"SY______.PFB\".",
" Alternatively, the OpenSymbol font, distributed with OpenOffice.org as",
" \"opens___.ttf\", offers the same characters. Microsoft has distributed a",
" Symbol font (\"symbol.ttf\"), but it has a different character set with",
" several missing or moved mathematic characters. If you experience problems",
" with your default setup (if the demo enhancedtext.dem is not displayed",
" properly for example), you probably have to install one of the Adobe or",
" OpenOffice Symbol fonts, and remove the Microsoft one.",
" Other non-conform fonts, such as \"wingdings\" have been observed working.",
"",
" The rendering of the plot can be altered with a dialog available from the",
" toolbar. To obtain the best output possible, the rendering involves three",
" mechanisms : antialiasing, oversampling and hinting.",
" Antialiasing allows to display non-horizontal and non-vertical lines",
" smoother.",
" Oversampling combined with antialiasing provides subpixel accuracy,",
" so that gnuplot can draw a line from non-integer coordinates. This avoids",
" wobbling effects on diagonal lines ('plot x' for example).",
" Hinting avoids the blur on horizontal and vertical lines caused by",
" oversampling. The terminal will snap these lines to integer coordinates so",
" that a one-pixel-wide line will actually be drawn on one and only one pixel.",
"",
" By default, the window is raised to the top of your desktop when a plot is",
" drawn. This can be controlled with the keyword \"raise\".",
" The keyword \"persist\" will prevent gnuplot from exiting before you",
" explicitly close all the plot windows.",
" Finally, by default the key raises the gnuplot console window, and",
" 'q' closes the plot window. The keyword \"ctrl\" allows you to replace those",
" bindings by + and +'q', respectively.",
" These three keywords (raise, persist and ctrl) can also be set and remembered",
" between sessions through the configuration dialog."
#else /* JAPANESE_DOC */
"1 wxt",
"?set terminal wxt",
"?terminal wxt",
"?set term wxt",
"?term wxt",
"?wxt",
" `wxt` ",
" wxWidgets ( `wxt` )",
" 2D cairo /",
" pango ",
"",
" :",
" set term wxt {}",
" {size ,} {position ,}",
" {background | nobackground}",
" {{no}enhanced}",
" {font } {fontscale }",
" {title \"title\"}",
" {linewidth } {butt|rounded|square}",
" {dashlength
}",
" {{no}persist}",
" {{no}raise}",
" {{no}ctrl}",
" {close}",
"",
" `set terminal wxt ` ",
" n ",
"",
" ",
" \"title\" ",
"",
" `gnuplot` ",
" ",
" 'q' `close` ",
" `set term wxt close` ",
"",
" 640x384 ",
" ",
" ",
" ",
" `wxt`",
" ",
" `replot`",
" `replot` ",
" `plot` ",
" ",
" ",
"",
" position ",
" `set term` ",
"",
" (`set term wxt ` ) ",
" : `mouse`",
" ",
" ",
"",
" (enhanced text mode) ",
" () ",
" gnuplot ",
" : `enhanced`",
"",
" \"FontFace,FontSize\" FontFace FontSize ",
" FontFace \'Arial\' ",
" FontFace wxt ",
" \'Sans\' FontSize ",
" FontSize wxt 10 ",
" :",
" set term wxt font \"Arial,12\"",
" set term wxt font \"Arial\" # ",
" set term wxt font \",12\" # ",
" set term wxt font \"\" # ",
"",
" MS-Windows ",
" \"Fonts\" ",
" Unix \"fontconfig\" ",
"",
" pango utf-8 ",
" wxt utf-8 ",
" \'locale\' ",
" gnuplot ",
" : `encoding`",
"",
" pango unicode ",
" Symbol wxt ",
" unicode http://www.unicode.org/ ",
" pango ",
" Symbol DejaVu ",
" unicode ",
" \"the Symbol font\" Acrobat Reader ",
" \"SY______.PFB\" Adobe Symbol ",
" OpenOffice.org ",
" \"opens___.ttf\" OpenSymbol ",
" Microsoft Symbol (\"symbol.ttf\") ",
" ",
" ",
" ( enhancedtext.dem ",
" ) Adobe OpenOffice Symbol ",
" Microsoft Symbol ",
" ",
" \"windings\" ",
" ",
"",
" ",
" ",
" 3 ",
" ",
" ",
" gnuplot ",
" ( 'plot x') ",
" ",
" ",
" 1 1 (1 ",
" ) ",
"",
" ",
" () \"raise\" ",
" \"persist\" ",
" gnuplot ",
" gnuplot ",
" 'q' \"ctrl\" ",
" + +'q' ",
" 3 (raise, persist, ctrl) ",
" "
#endif /* JAPANESE_DOC */
END_HELP(wxt)
START_HELP(x11)
#ifndef JAPANESE_DOC
"1 x11",
"?commands set terminal x11",
"?set terminal x11",
"?set term x11",
"?terminal x11",
"?term x11",
"?x11",
"?X11",
"",
" Syntax:",
" set terminal x11 { | window \"\"}",
" {title \"\"}",
" {{no}enhanced} {font }",
" {linewidth LW}",
" {{no}persist} {{no}raise} {{no}ctrlq}",
" {{no}replotonresize}",
" {close}",
" {size XX,YY} {position XX,YY}",
" set terminal x11 {reset}",
"",
" Multiple plot windows are supported: `set terminal x11 ` directs the",
" output to plot window number n. If n is not 0, the terminal number will be",
" appended to the window title (unless a title has been supplied manually)",
" and the icon will be labeled `Gnuplot `. The active window may be",
" distinguished by a change in cursor (from default to crosshair).",
"",
" The `x11` terminal can connect to X windows previously created by an outside",
" application via the option `window` followed by a string containing the",
" X ID for the window in hexadecimal format. Gnuplot uses that external X",
" window as a container since X does not allow for multiple clients selecting",
" the ButtonPress event. In this way, gnuplot's mouse features work within",
" the contained plot window.",
"",
" set term x11 window \"220001e\"",
"",
" The x11 terminal supports enhanced text mode (see `enhanced`), subject",
" to the available fonts. In order for font size commands embedded in text",
" to have any effect, the default x11 font must be scalable. Thus the first",
" example below will work as expected, but the second will not.",
"",
" set term x11 enhanced font \"arial,15\" ",
" set title '{/=20 Big} Medium {/=5 Small}' ",
"",
" set term x11 enhanced font \"terminal-14\" ",
" set title '{/=20 Big} Medium {/=5 Small}' ",
"",
" Plot windows remain open even when the `gnuplot` driver is changed to a",
" different device. A plot window can be closed by pressing the letter q",
" while that window has input focus, or by choosing `close` from a window",
" manager menu. All plot windows can be closed by specifying `reset`, which",
" actually terminates the subprocess which maintains the windows (unless",
" `-persist` was specified). The `close` command can be used to close",
" individual plot windows by number. However, after a `reset`, those plot",
" windows left due to persist cannot be closed with the command `close`.",
" A `close` without a number closes the current active plot window.",
"",
" The gnuplot outboard driver, gnuplot_x11, is searched in a default place",
" chosen when the program is compiled. You can override that by defining",
" the environment variable GNUPLOT_DRIVER_DIR to point to a different",
" location.",
"",
" Plot windows will automatically be closed at the end of the session",
" unless the `-persist` option was given.",
"",
" The options `persist` and `raise` are unset by default, which means that",
" the defaults (persist == no and raise == yes) or the command line options",
" -persist / -raise or the Xresources are taken. If [no]persist or",
" [no]raise are specified, they will override command line options and",
" Xresources. Setting one of these options takes place immediately, so",
" the behaviour of an already running driver can be modified. If the window",
" does not get raised, see discussion in `raise`.",
"",
" The option `replotonresize` (active by default) replots the data when the",
" plot window is resized. Without this option, the even-aspect-ratio scaling",
" may result in the plot filling only part of the window after resizing.",
" With this option, gnuplot does a full replot on each resize event, resulting",
" in better space utilization. This option is generally desirable, unless the",
" potentially CPU-intensive replotting during resizing is a concern. Replots",
" can be manually initiated with hotkey 'e' or the 'replot' command.",
"",
" The option `title \"\"` will supply the title name of the window",
" for the current plot window or plot window if a number is given.",
" Where (or if) this title is shown depends on your X window manager.",
"",
" The size option can be used to set the size of the plot window. The",
" size option will only apply to newly created windows.",
"",
" The position option can be used to set the position of the plot window. The",
" position option will only apply to newly created windows.",
"",
" The size or aspect ratio of a plot may be changed by resizing the `gnuplot`",
" window.",
"",
" Linewidths and pointsizes may be changed from within `gnuplot` with",
" `set linestyle`.",
"",
" For terminal type `x11`, `gnuplot` accepts (when initialized) the standard",
" X Toolkit options and resources such as geometry, font, and name from the",
" command line arguments or a configuration file. See the X(1) man page",
" (or its equivalent) for a description of such options.",
"",
"=X resources",
" A number of other `gnuplot` options are available for the `x11` terminal.",
" These may be specified either as command-line options when `gnuplot` is",
" invoked or as resources in the configuration file \".Xdefaults\". They are",
" set upon initialization and cannot be altered during a `gnuplot` session.",
" (except `persist` and `raise`)",
"2 x11_fonts",
"?commands set terminal x11 x11_fonts",
"?set terminal x11 x11_fonts",
"?set term x11 x11_fonts",
"?x11 x11_fonts",
"?x11_fonts",
"=fonts",
" Upon initial startup, the default font is taken from the X11 resources",
" as set in the system or user .Xdefaults file or on the command line.",
"",
" Example:",
" gnuplot*font: lucidasans-bold-12",
" A new default font may be specified to the x11 driver from inside",
" gnuplot using",
" `set term x11 font \"\"`",
" The driver first queries the X-server for a font of the exact name given.",
" If this query fails, then it tries to interpret as",
" \",,,\" and to construct a full X11 font name",
" of the form",
" -*----*-*--*-*-*-*-*-",
"",
" is the base name of the font (e.g. Times or Symbol)",
" is the point size (defaults to 12 if not specified)",
" is 'i' if ==\"italic\" 'o' if ==\"oblique\" 'r' otherwise",
" is 'medium' or 'bold' if explicitly requested, otherwise '*'",
" is set based on the current character set.",
" So `set term x11 font \"arial,15,italic\"` will be translated to",
" -*-arial-*-i-*-*-15-*-*-*-*-*-iso8859-1 (assuming default encoding).",
" The , , and specifications are all optional.",
" If you do not specify or then you will get whatever font ",
" variant the font server offers first.",
" You may set a default encoding via the corresponding X11 resource. E.g.",
" gnuplot*encoding: iso8859-15",
" The driver also recognizes some common PostScript font names and",
" replaces them with possible X11 or TrueType equivalents.",
" This same sequence is used to process font requests from `set label`.",
"",
" If your gnuplot was built with configuration option --enable-x11-mbfonts,",
" you can specify multi-byte fonts by using the prefix \"mbfont:\" on the font",
" name. An additional font may be given, separated by a semicolon.",
" Since multi-byte font encodings are interpreted according to the locale",
" setting, you must make sure that the environmental variable LC_CTYPE is set",
" to some appropriate locale value such as ja_JP.eucJP, ko_KR.EUC, or zh_CN.EUC.",
"",
" Example:",
" set term x11 font 'mbfont:kana14;k14'",
" # 'kana14' and 'k14' are Japanese X11 font aliases, and ';'",
" # is the separator of font names.",
" set term x11 font 'mbfont:fixed,16,r,medium'",
" # ,,, form is also usable.",
" set title '(mb strings)' font 'mbfont:*-fixed-medium-r-normal--14-*'",
"",
" The same syntax applies to the default font in Xresources settings,",
" for example,",
" gnuplot*font: \\",
" mbfont:-misc-fixed-medium-r-normal--14-*-*-*-c-*-jisx0208.1983-0",
"",
" If gnuplot is built with --enable-x11-mbfonts, you can use two special",
" PostScript font names 'Ryumin-Light-*' and 'GothicBBB-Medium-*' (standard",
" Japanese PS fonts) without the prefix \"mbfont:\".",
"",
"2 command-line_options",
"?commands set terminal x11 command-line-options",
"?set terminal x11 command-line-options",
"?set term x11 command-line-options",
"?x11 command-line-options",
" In addition to the X Toolkit options, the following options may be specified",
" on the command line when starting `gnuplot` or as resources in your",
" \".Xdefaults\" file (note that `raise` and `persist` can be overridden",
" later by `set term x11 [no]raise [no]persist)`:",
"@start table - first is interactive cleartext form",
" `-mono` forces monochrome rendering on color displays.",
" `-gray` requests grayscale rendering on grayscale or color displays.",
" (Grayscale displays receive monochrome rendering by default.)",
" `-clear` requests that the window be cleared momentarily before a",
" new plot is displayed.",
" `-tvtwm` requests that geometry specifications for position of the",
" window be made relative to the currently displayed portion",
" of the virtual root.",
" `-raise` raises plot window after each plot",
" `-noraise` does not raise plot window after each plot",
#ifdef USE_MOUSE
" `-ctrlq ` closes window on ctrl-q rather than q",
#endif
" `-persist` plot windows survive after main gnuplot program exits",
"#\\begin{tabular}{|cl|} \\hline",
"#`-mono` & forces monochrome rendering on color displays.\\\\",
"#`-gray` & requests grayscale rendering on grayscale or color displays.\\\\",
"# & (Grayscale displays receive monochrome rendering by default.) \\\\",
"#`-clear` & requests that the window be cleared momentarily before a\\\\",
"# & new plot is displayed. \\\\",
"#`-tvtwm` & requests that geometry specifications for position of the\\\\",
"# & window be made relative to the currently displayed portion\\\\",
"# & of the virtual root. \\\\",
"#`-raise` & raises plot window after each plot. \\\\",
"#`-noraise` & does not raise plot window after each plot. \\\\",
"#`-persist` & plot windows survive after main gnuplot program exits. \\\\",
"%c l .",
"%`-mono`@forces monochrome rendering on color displays.",
"%`-gray`@requests grayscale rendering on grayscale or color displays.",
"% @(Grayscale displays receive monochrome rendering by default.)",
"%`-clear`@requests that the window be cleared momentarily before a",
"% @new plot is displayed.",
"%`-tvtwm`@requests that geometry specifications for position of the",
"% @window be made relative to the currently displayed portion",
"% @of the virtual root.",
"%`-raise`@raises plot window after each plot",
"%`-noraise`@does not raise plot window after each plot",
#ifdef USE_MOUSE
"%`-novevents`@does not process mouse and key events",
"%`-ctrlq`@closes window on ctrl-q rather than q",
#endif
"%`-persist`@plot windows survive after main gnuplot program exits",
"@end table",
"=X resources",
" The options are shown above in their command-line syntax. When entered as",
" resources in \".Xdefaults\", they require a different syntax.",
"",
" Example:",
" gnuplot*gray: on",
" gnuplot*ctrlq: on",
"",
" `gnuplot` also provides a command line option (`-pointsize `) and a",
" resource, `gnuplot*pointsize: `, to control the size of points plotted",
" with the `points` plotting style. The value `v` is a real number (greater",
" than 0 and less than or equal to ten) used as a scaling factor for point",
" sizes. For example, `-pointsize 2` uses points twice the default size, and",
" `-pointsize 0.5` uses points half the normal size.",
"",
" The `-ctrlq` switch changes the hot-key that closes a plot window from `q`",
" to `q`. This is useful is you are using the keystroke-capture feature",
" `pause mouse keystroke`, since it allows the character `q` to be captured",
" just as all other alphanumeric characters. The `-ctrlq` switch similarly",
" replaces the hot-key with for the same reason.",
"",
"2 color_resources",
"?set terminal x11 color_resources",
"?set term x11 color_resources",
"?x11 color_resources",
"=X resources",
" NB: THIS SECTION IS LARGELY IRRELEVANT IN GNUPLOT VERSION 5",
" The X11 terminal honors the following resources (shown here with their",
" default values) or the greyscale resources. The values may be color names",
" as listed in the X11 rgb.txt file on your system, hexadecimal RGB color",
" specifications (see X11 documentation), or a color name followed by a comma",
" and an `intensity` value from 0 to 1. For example, `blue, 0.5` means a half",
" intensity blue.",
"@start table - first is interactive cleartext form",
" gnuplot*background: white",
" gnuplot*textColor: black",
" gnuplot*borderColor: black",
" gnuplot*axisColor: black",
" gnuplot*line1Color: red",
" gnuplot*line2Color: green",
" gnuplot*line3Color: blue",
" gnuplot*line4Color: magenta",
" gnuplot*line5Color: cyan",
" gnuplot*line6Color: sienna",
" gnuplot*line7Color: orange",
" gnuplot*line8Color: coral",
"#\\begin{tabular}{|cl|} \\hline",
"#&gnuplot*background: white\\\\",
"#&gnuplot*textColor: black\\\\",
"#&gnuplot*borderColor: black\\\\",
"#&gnuplot*axisColor: black\\\\",
"#&gnuplot*line1Color: red\\\\",
"#&gnuplot*line2Color: green\\\\",
"#&gnuplot*line3Color: blue\\\\",
"#&gnuplot*line4Color: magenta\\\\",
"#&gnuplot*line5Color: cyan\\\\",
"#&gnuplot*line6Color: sienna\\\\",
"#&gnuplot*line7Color: orange\\\\",
"#&gnuplot*line8Color: coral\\\\",
"%c l .",
"%@gnuplot*background: white",
"%@gnuplot*textColor: black",
"%@gnuplot*borderColor: black",
"%@gnuplot*axisColor: black",
"%@gnuplot*line1Color: red",
"%@gnuplot*line2Color: green",
"%@gnuplot*line3Color: blue",
"%@gnuplot*line4Color: magenta",
"%@gnuplot*line5Color: cyan",
"%@gnuplot*line6Color: sienna",
"%@gnuplot*line7Color: orange",
"%@gnuplot*line8Color: coral",
"@end table",
"",
" The command-line syntax for these is simple only for background,",
" which maps directly to the usual X11 toolkit option \"-bg\". All",
" others can only be set on the command line by use of the generic",
" \"-xrm\" resource override option",
"",
" Examples:",
"",
" gnuplot -background coral",
" to change the background color.",
"",
" gnuplot -xrm 'gnuplot*line1Color:blue'",
" to override the first linetype color.",
"",
"2 grayscale_resources",
"?commands set terminal x11 grayscale_resources",
"?set terminal x11 grayscale_resources",
"?set term x11 grayscale_resources",
"?x11 grayscale_resources",
"?grayscale_resources",
"=X resources",
" When `-gray` is selected, `gnuplot` honors the following resources for",
" grayscale or color displays (shown here with their default values). Note",
" that the default background is black.",
"@start table - first is interactive cleartext form",
" gnuplot*background: black",
" gnuplot*textGray: white",
" gnuplot*borderGray: gray50",
" gnuplot*axisGray: gray50",
" gnuplot*line1Gray: gray100",
" gnuplot*line2Gray: gray60",
" gnuplot*line3Gray: gray80",
" gnuplot*line4Gray: gray40",
" gnuplot*line5Gray: gray90",
" gnuplot*line6Gray: gray50",
" gnuplot*line7Gray: gray70",
" gnuplot*line8Gray: gray30",
"#\\begin{tabular}{|cl|} \\hline",
"#&gnuplot*background: black\\\\",
"#&gnuplot*textGray: white\\\\",
"#&gnuplot*borderGray: gray50\\\\",
"#&gnuplot*axisGray: gray50\\\\",
"#&gnuplot*line1Gray: gray100\\\\",
"#&gnuplot*line2Gray: gray60\\\\",
"#&gnuplot*line3Gray: gray80\\\\",
"#&gnuplot*line4Gray: gray40\\\\",
"#&gnuplot*line5Gray: gray90\\\\",
"#&gnuplot*line6Gray: gray50\\\\",
"#&gnuplot*line7Gray: gray70\\\\",
"#&gnuplot*line8Gray: gray30\\\\",
"%c l .",
"%@gnuplot*background: black",
"%@gnuplot*textGray: white",
"%@gnuplot*borderGray: gray50",
"%@gnuplot*axisGray: gray50",
"%@gnuplot*line1Gray: gray100",
"%@gnuplot*line2Gray: gray60",
"%@gnuplot*line3Gray: gray80",
"%@gnuplot*line4Gray: gray40",
"%@gnuplot*line5Gray: gray90",
"%@gnuplot*line6Gray: gray50",
"%@gnuplot*line7Gray: gray70",
"%@gnuplot*line8Gray: gray30",
"@end table",
"",
"2 line_resources",
"?set terminal x11 line_resources",
"?set term x11 line_resources",
"?x11 line_resources",
"=X resources",
" NB: THIS SECTION IS LARGELY IRRELEVANT IN GNUPLOT VERSION 5",
" `gnuplot` honors the following resources for setting the width (in pixels) of",
" plot lines (shown here with their default values.) 0 or 1 means a minimal",
" width line of 1 pixel width. A value of 2 or 3 may improve the appearance of",
" some plots.",
"@start table - first is interactive cleartext form",
" gnuplot*borderWidth: 1",
" gnuplot*axisWidth: 0",
" gnuplot*line1Width: 0",
" gnuplot*line2Width: 0",
" gnuplot*line3Width: 0",
" gnuplot*line4Width: 0",
" gnuplot*line5Width: 0",
" gnuplot*line6Width: 0",
" gnuplot*line7Width: 0",
" gnuplot*line8Width: 0",
"#\\begin{tabular}{|cl|} \\hline",
"#&gnuplot*borderWidth: 1\\\\",
"#&gnuplot*axisWidth: 0\\\\",
"#&gnuplot*line1Width: 0\\\\",
"#&gnuplot*line2Width: 0\\\\",
"#&gnuplot*line3Width: 0\\\\",
"#&gnuplot*line4Width: 0\\\\",
"#&gnuplot*line5Width: 0\\\\",
"#&gnuplot*line6Width: 0\\\\",
"#&gnuplot*line7Width: 0\\\\",
"#&gnuplot*line8Width: 0\\\\",
"%c l .",
"%@gnuplot*borderWidth: 1",
"%@gnuplot*axisWidth: 0",
"%@gnuplot*line1Width: 0",
"%@gnuplot*line2Width: 0",
"%@gnuplot*line3Width: 0",
"%@gnuplot*line4Width: 0",
"%@gnuplot*line5Width: 0",
"%@gnuplot*line6Width: 0",
"%@gnuplot*line7Width: 0",
"%@gnuplot*line8Width: 0",
"@end table",
"",
" `gnuplot` honors the following resources for setting the dash style used for",
" plotting lines. 0 means a solid line. A two-digit number `jk` (`j` and `k`",
" are >= 1 and 12bit, gnuplot starts with a maximal number",
" of 0x200 colors. On a visual class with a depth > 8bit (but