edit

Installation

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")

Finally, you may wish to add some extensions from the Plots ecosystem:

Pkg.add("StatPlots")
Pkg.add("PlotRecipes")

Initialize

using Plots # or StatPlots, or PlotRecipes

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"
Tip: You can override standard default values in your ~/.juliarc.jl file: PLOTS_DEFAULTS = Dict(:markersize => 10, :legend => false)