Native graphics are constructed by developing the plots in Julia and using wrapper calls to libraries such as cairo
, pango
, and tk
.
In this section, we will consider creating graphics by means of an external tasks (programs) rather than shared libraries. Clearly, this means that the program must be installed on the specific computer and not all operating systems are equivalent with respect to the various packages on offer.
PyPlot
is a part of the work of Steven Johnson of MIT, which arose from the previous development of the PyCall
module. Together with Winston
and Gadfly,
it is the third part in the Julia graphics triumvirate.
It provides an interface to the matplotlib plotting library from Python and in particular to matplotlib.pyplot
. The API of matplotlib can be used as the basis for a comprehensive reference source to the various function calls: matplotlib.org/api.
Therefore in order to use PyPlot,
the installation of Python and matplotlib is necessary. If this is...