I cant view Plots in Juno - Atom IDE

547 views
Skip to first unread message

Erick J Zagal

unread,
Aug 8, 2016, 12:32:29 AM8/8/16
to julia-users
I have this code:

using Plots

x = linspace(0, 10, 200)
y = sin(x)
plot(x, y, color=:blue, linewidth=2, label="sine")

when run this in the console , show the plot , but  trying in Juno only show [Plots.jl] Initializing backend:plotly
the plot is nothing
Add a Screenshot

Help
Captura de pantalla (22).png

Chris Rackauckas

unread,
Aug 8, 2016, 4:03:42 AM8/8/16
to julia-users
Use the command `gui()`

Tom Breloff

unread,
Aug 8, 2016, 7:35:29 AM8/8/16
to julia...@googlegroups.com
I think this behavior should be changed to match the REPL... There have been too many questions like this

Chris Rackauckas

unread,
Aug 8, 2016, 10:51:13 AM8/8/16
to julia-users
I agree. I probably answer this question at least once a day. I don't find it intuitive either, I just know the answer. It should either the early on in the documentation, or the displaying should be on by default. It would match things like R or MATLAB where people are used to the scripts just generating the plots and throwing them in the plot pane (and having the option to turn that off would still be nice, and is already implemented).

Erick J Zagal

unread,
Aug 8, 2016, 9:39:24 PM8/8/16
to julia-users
Tank you :)
Reply all
Reply to author
Forward
0 new messages