## Texdraw

The texdraw terminal driver supports the (La)TeX texdraw environment. It is intended for use with the texdraw package, see https://www.ctan.org/tex-archive/graphics/texdraw/ .

         set terminal texdraw
                        {size <XX>{unit},<YY>{unit}}
                        {standalone | input}
                        {blacktext | colortext | colourtext}
                        {linewidth <lw>} {rounded | butt}
                        {pointscale <ps>}
                        {psarrows | gparrows} {texpoints | gppoints}
                        {background <rgbcolor>}

Note: Graphics are in grayscale only. Text is always black. Boxes and polygons are filled using solid gray levels only. Patterns are not available.

Points, among other things, are drawn using the LaTeX commands "Diamond" and "Box". These commands no longer belong to the LaTeX2e core; they are included in the latexsym package, which is part of the base distribution and thus part of any LaTeX implementation. Please do not forget to use this package. Other point types use symbols from the amssymb package. For compatibility with plain TeX you need to specify the gppoints option.

standalone produces a LaTeX file with possibly multiple plots, ready to be compiled. The default is input to produce a TeX file which can be included.

blacktext forces all text to be written in black. colortext enables "colored" text. The default is blacktext and "color" means grayscale really.

rounded sets line caps and line joins to be rounded; butt sets butt caps and mitered joins and is the default.

linewidth and pointscale scale the width of lines and the size of point symbols, respectively. pointscaleonly applies to gppoints.

psarrows draws arrows using TeXdraw commands which are shorter but do not offer all options. gparrows selects drawing drawing arrows using gnuplot's own routine for full functionality instead. Similarly, texpoints, and gppoints select LaTeX symbols or gnuplot's point drawing routines.