Plotting in Julia is available through external packages.
Plots.jl is a plotting metapackage which brings many different plotting packages under a single API, making it easy to swap between plotting “backends”. Installation and example usage is as follows:
A guide to the available backends can be found in the manual. Additionally, many Julia packages add plotting functionality through its recipe system. These can be used to do tasks like creating a default visualization for Julia types and create entirely new types of plots. The ecosystems page shows some visualizations the extension packages have added to Plots.jl.
PyPlot uses the Julia PyCall package to call Python’s matplotlib directly from Julia with little or no overhead (arrays are passed without making a copy). Make sure that Python and MatPlotlib are correctly installed. Installation of PyPlot.jl and example usage are as follows:
Gadfly is an implementation of a Wickham-Wilkinson style grammar of graphics in Julia. Add the Gadfly package to your Julia installation with the following command on the Julia prompt:
Gadfly’s interface will be familiar to users of R’s ggplot2 package. See examples and documentation on the Gadfly homepage.