gap Function (GPL)

Syntax

gap(<value>)

<value>. A number with units (for example, 0px).

Description

Specifies the size of the gap between adjacent axes in a faceted graph. This function is used to close the space between adjacent axes in population pyramids and matrix scatterplots.

Examples

Figure 1. Example: Forcing adjacent axes to touch
GUIDE: axis(dim(3), gap(0px))