Installing Plots.jl

plotting

#1

Hi,

I havejust installed JuliaPro 0.6 (Windows 7), and I wish to use the Plots package. So I type

Pkg.add("Plots")
INFO: 
Cloning cache of PlotThemes from https://github.com/JuliaPlots/PlotThemes.jl.git
INFO: Cloning cache of PlotUtils from https://github.com/JuliaPlots/PlotUtils.jl.git
INFO: Cloning cache of Plots from https://github.com/JuliaPlots/Plots.jl.git
INFO: Cloning cache of RecipesBase from https://github.com/JuliaPlots/RecipesBase.jl.git
INFO: Installing PlotThemes v0.1.4
INFO: Installing PlotUtils v0.4.4
INFO: Installing Plots v0.13.1
INFO: Installing RecipesBase v0.2.3
INFO: Building Plots
INFO: Cannot find deps/plotly-latest.min.js... downloading latest version.
INFO: Package database updated

Pkg.update()
INFO: Updating METADATA...
INFO: Computing changes...
INFO: No packages to install, update or remove
INFO: Precompiling module RecipesBase.
INFO: Precompiling module PlotUtils.
INFO: Precompiling module PlotThemes.
WARNING: 
No working GUI backend found for matplotlib
done

Note the warning. I do have Ananconda installed, in

C:\Users\myudername\AppData\Local\Continuum\Anaconda3

which I thought should contain Pyplot. How to I point the Plots package to Anaconda and Pyplot? What did I miss?

: )

Philippe


#2

Case closed!

Pkg.add("PyPlot")
Pkg.update()

#3

using Plots
x = [i for i in 1:10]
y = rand(10)
plot(x,y)

my problem is following:
ERROR: error compiling _do_plot_show: error compiling _display: could not load library "libGR.dll"
The specified module could not be found.

Stacktrace:
 [1] _plot!(::Plots.Plot{Plots.GRBackend}, ::Dict{Symbol,Any}, ::Tuple{Array{Int64,1},Array{Float64,1}}) at C:\Users\luk\.julia\v0.6\Plots\src\plot.jl:246
 [2] #plot#212(::Array{Any,1}, ::Function, ::Array{Int64,1}, ::Vararg{Any,N} where N) at C:\Users\luk\.julia\v0.6\Plots\src\plot.jl:58
 [3] plot(::Array{Int64,1}, ::Array{Float64,1}, ::Vararg{Array{Float64,1},N} where N) at C:\Users\luk\.julia\v0.6\Plots\src\plot.jl:52

what should i do ?


#4

the same for me, do you solved?