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 easy plot(x, y) command. Add a graphic to an existing plot with oplot(), and save it in the PNG, EPS, PDF, or SVG format with savefig(). From within a script, use display(pl), where pl is the plot object to make the plot appear. For a complete code example, refer to Chapter 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.