2012 Aug 1: Pyxplot 0.9.0

Version 0.9 is a major update. Many new data types have been introduced, each of which has methods which can be called in an object-orientated fashion. These include:

In addition, Pyxplot’s range of operators has been extended to include most of those in the C programming language, allowing expressions such as

to be written.

Incompatibilities with Pyxplot 0.8

The extensions to Pyxplot in version 0.9 mean that some minor changes to syntax have been necessary. These include:

$$$n$ is a newline and $$$t$ a tab. As in python, prepending the string with the character r disables all escape character expansion. As backslashes are common characters in latex command strings, the easiest approach is to always prepend latex strings with an r. As in python, triple quotes, e.g. r"""2 $$$times 3"""$ can be used where required (see Section 3.6). In the foreach command, square brackets should be used to delimit lists of items to iterate over. The Pyxplot 0.8 syntax foreach i in (1,2,3) should now be written foreach i in [1,2,3] (see Section 7.3).