I just started using Atom yesterday, and I think it's pretty great.  I
spent some time today trying to figure things out, and was able to get
Gadfly, PyPlot, and GR going in Atom's PlotPane.  I'm working on
Plotly/PlotlyJS right now.  If anyone wants to experiment, check out the
dev branch of Plots.

On Fri, Mar 11, 2016 at 2:43 PM, Philippe Roy <[email protected]> wrote:

> Thanks,
>
> However, I get the "scatter is not defined" by typing your example inside
> Juno/Atom and Juno/LT.
>
>
> Le vendredi 11 mars 2016 14:28:00 UTC-5, Josef Heinen a écrit :
>>
>> GR.jl is also supported inside Atom, either standalone (see screenshot),
>> or as a backend for Plots.jl or PyPlot.jl (Matplotlib).
>>
>>
>> <https://lh3.googleusercontent.com/-M5vIqhvVWVU/VuMbmw07zTI/AAAAAAAAACY/XoebGTIyOWMkaRQURp1hFgW7uwDuGsXhg/s1600/Screen%2BShot%2B2016-03-11%2Bat%2B20.21.42.png>
>>
>>
>> On Friday, March 11, 2016 at 3:35:07 PM UTC+1, Philippe Roy wrote:
>>>
>>> Hi! Nice package Tom. Is this supposed to work inside Atom with the
>>> julia "IDE" ? The plots seems to work, but I really don't know where they
>>> appear! they're not in the plots pane (I think only Gadfly is supported as
>>> of now inside Atom).
>>>
>>> Thanks for any help!
>>>
>>> Le jeudi 10 mars 2016 14:08:23 UTC-5, Tom Breloff a écrit :
>>>>
>>>> You should read up more on PlotlyJS:
>>>> http://spencerlyon.com/PlotlyJS.jl/
>>>>
>>>> Or from the Plots docs:
>>>>
>>>> Plotly / PlotlyJS
>>>>> These are treated as separate backends, though they share much of the
>>>>> code and use the Plotly javascript API.  plotly() is the only
>>>>> dependency-free plotting option, as the required javascript is bundled 
>>>>> with
>>>>> Plots. It can create inline plots in IJulia, or open standalone browser
>>>>> windows when run from the Julia REPL.
>>>>> plotlyjs() is the preferred option, and taps into the great
>>>>> functionality of Spencer Lyon's PlotlyJS.jl. Inline IJulia plots can be
>>>>> updated from any cell... something that makes this backend stand out. From
>>>>> the Julia REPL, it taps into Blink.jl and Electron to plot within a
>>>>> standalone GUI window... also very cool.
>>>>
>>>>
>>>> On Thu, Mar 10, 2016 at 2:03 PM, Daniel Carrera <[email protected]>
>>>> wrote:
>>>>
>>>>> On 10 March 2016 at 18:23, Tom Breloff <[email protected]> wrote:
>>>>>
>>>>>>
>>>>>> On Thu, Mar 10, 2016 at 12:08 PM, j verzani <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> As someone who has watched his calculus students struggle with what
>>>>>>> should be a trivial task -- the installation of `Plots` on `juliabox`, 
>>>>>>> I've
>>>>>>> wished it were part of base.
>>>>>>>
>>>>>>
>>>>>> While in my (very biased) opinion I think Plots should be the first
>>>>>> package new users install, I don't think it belongs in base.  (please 
>>>>>> don't
>>>>>> make me rebuild julia to hack on Plots ;)
>>>>>>
>>>>>
>>>>>
>>>>> I think Plots could be part of the "standard library" (to borrow a
>>>>> term from Python). So it would not be in Base, but it could be
>>>>> pre-installed. Plotting is one of the most common things that scientists
>>>>> and engineers do. Maybe not right now, but when Plots is more mature.
>>>>>
>>>>> Speaking of which, I'm also having trouble with PlotlyJS.
>>>>>
>>>>>
>>>>> julia> plotlyjs()
>>>>> Plots.PlotlyJSPackage()
>>>>>
>>>>> julia> plot(Plots.fakedata(50,5),w=3)
>>>>> [Plots.jl] Initializing backend: plotlyjs
>>>>> INFO: Precompiling module Blink...
>>>>> INFO: Recompiling stale cache file
>>>>> /home/daniel/.julia/lib/v0.4/Nettle.ji for module Nettle.
>>>>> ERROR: Cannot find Electron. Try `AtomShell.install()`.
>>>>>  in electron at
>>>>> /home/daniel/.julia/v0.4/Blink/src/AtomShell/process.jl:49
>>>>>  ...
>>>>>
>>>>>
>>>>> For some reason, PlotlyJS seems to think that I am running it from
>>>>> Atom. :-(
>>>>>
>>>>>
>>>>>
>>>>

Reply via email to