Install
First, add the package
Pkg.add("Plots")
# if you want the latest features:
Pkg.checkout("Plots")
# or for the bleeding edge:
Pkg.checkout("Plots", "dev")
then get any plotting packages you need (obviously, you should get at least one backend).
Pkg.add("PyPlot")
Pkg.add("GR")
Pkg.add("UnicodePlots")
Pkg.add("PlotlyJS")
Initialize
using Plots
Choose a backend, and optionally override default settings at the same time:
pyplot(size = (300,300), legend = false)
Tip: Backend methods are lowercase, and match the corresponding backend package name.
Tip: The underlying plotting backends are not imported and initialized immediately, thus they are
loaded on demand to reduce dependencies.
Tip: Plots will pick a default backend for you automatically based on what backends are installed. You can
override this choice by setting an environment variable in your ~/.juliarc.jl file: ENV["PLOTS_DEFAULT_BACKEND"] = "PlotlyJS"