摘要:The grid package provides an alternative set of graphics functions within R. This article focuses on grid as a drawing tool. For this purpose, grid provides two main services: 1. the production of low-level to medium-level graphical components such as lines, rectangles, data symbols, and axes. 2. sophisticated support for arranging graphical components. The features of grid are demonstrated via several examples including code. Not all of the details of the code are explained in the text so a close consideration of the output and the code that produced it, plus reference to the on-line help for specific grid functions, may be required to gain a complete understanding.