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

4.1.61 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‘ is also supported on Windows.

Syntax:

      set terminal windows {<n>}
                           {color | monochrome}
                           {solid | dashed}
                           {enhanced | noenhanced}
                           {font <fontspec>}
                           {fontscale <scale>}
                           {linewdith <scale>}
                           {background <rgb color>}
                           {title "Plot Window Title"}
                           {size <width>,<height>}
                           {position <x>,<y>}
                           {close}

Multiple plot windows are supported: ‘set terminal win <n>‘ 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‘. ‘enhanced‘ enables enhanced text mode features (subscripts, superscripts and mixed fonts, see ‘enhanced text‘ for more information). ‘<fontspec>‘ is in the format "<fontface>,<fontsize>", where "<fontface>" is the name of a valid Windows font, and <fontsize> 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 <fontsize> could be given as a number without double quotes. This is no longer supported. ‘linewidth‘ and ‘fontscale‘ can be used to scale the width of lines and the size of text. title changes the title of the graph window. size defines the width and height of the window in pixel and position 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.

Other options may be changed using the ‘graph-menu‘ or the initialization file ‘wgnuplot.ini‘.

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.


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

This document was generated on February 28, 2014 using texi2html 5.0.

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