Credits | Overview | Plotting Styles | Commands | Terminals
--- | --- | --- | --- | ---

## kittygd

Syntax:

          set terminal kittygd
                       {{no}enhanced} {{no}truecolor} {rounded|butt}
                       {linewidth <lw>} {dashlength <dl>}
                       {font "<face> {,<pointsize>}"} {fontscale <scale>}
                       {size <x>,<y>} {anchor|scroll}
                       {background <rgb_color>}

The kittygd terminal generates in-window output on terminal emulators that support the kitty graphics protocol. The plot is composed using the gdlib library. By default the library creates a 24-bit RGB png image that is mapped down onto 256 colors (truecolor) for output. notruecolor restricts the output to fewer colors but there is no obvious advantage to this. Transparent fill styles require the truecolor option. See fillstyle. If your copy of gnuplot was built with support for cairo graphics, the kittycairo terminal may be preferable.

This terminal processes labels and other text using enhanced formatting by default. See enhanced.

The width of al lines in the pot can be modified by the factor <lw> specified in linewidth. The font size can similarly be uniformly modified by the scale factor provided in fontscale. For discussion of font and text encoding options, see the png terminal.

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 relevant for line widths greater than 1. The alternative is rounded, which produces somewhat more uniform curved lines but can be much slower.

The size of the plot is given in screen pixels. By default (anchor) each new plot is drawn starting at the top left of the window. This is useful for animation or pseudo-mousing using the keyboard (see pseudo-mousing). The scroll option instead plots at the current cursor position so that successive plots scroll with the terminal text.