Graphics in Julia
Several packages exist to plot data and visualize data relations, which are as follows:
Winston
: (refer to the Packages section in Chapter 1, Installing the Julia Platform) This package offers 2D MATLAB-like plotting through an easyplot(x, y)
command. Add a graphic to an existing plot withoplot()
, and save it in the PNG, EPS, PDF, or SVG format withsavefig()
. From within a script, usedisplay(pl)
, wherepl
is the plot object to make the plot appear. For a complete code example, refer toChapter 10\winston.jl
(use it in the REPL). For more information, see the excellent docs at http://winston.readthedocs.org/en/latest/ and https://github.com/nolta/Winston.jl for the package itself.PyPlot
: (refer to the Installing and working ...
Get Julia: High Performance Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.