3.1 Adding other vector graphics objects

In addition to graphs, a range of other objects can be placed on graphics canvas:

Put together, these commands can be used to produce a wide range of vector graphics. The remainder of this chapter describes each of these commands in turn, providing a variety of examples of their use.

These commands all interface with Pyxplot’s maths environment in common ways. For example, vector positions on the graphics canvas may be specified in three ways:

Many of these commands take rotation angles as inputs: these may be specified either as dimensionless numbers, taken to be in degrees, or as values with physical units of angle, e.g. 0.25*unit(rev).

Where these commands take colors as inputs, as elsewhere in Pyxplot, the color may be specified in one of three ways: