Since yesterday I've added a couple of new features:
- A "Save As" button to the toolbar so you can easily export your figures
as SVG, PNG, PDF, or PS. (This just uses the Gadfly/Compose writers.)
- The ability to "tweak" a plot after its initial creation. Here's the
setup:
julia> using Immerse, Colors
julia> hfig = figure()
1
julia> x = linspace(0,4pi,101);
julia> p = plot(x=x, y=sin(x), Geom.line(tag=:line))
Then in combination with the REPL's lovely down-arrow capability, I've
found I can amuse myself for hours by cycling through
julia> setproperty!((hfig,:line), rand(1:5), :linewidth)
3
julia> setproperty!((hfig,:line), RGB(rand(),rand(),rand()), :stroke)
RGB{Float64}(0.9563599683564541,0.20964995278692222,0.997388106654052)
julia> setproperty!((hfig,:line), false, :visible)
false
julia> setproperty!((hfig,:line), true, :visible)
true
Enjoy wasting time in the same way I have :-).
--Tim
On Monday, September 14, 2015 at 10:15:04 AM UTC-5, Tim Holy wrote:
>
> I'm pleased to announce the availability of the Immerse package:
> https://github.com/JuliaGraphics/Immerse.jl
>
> Immerse is designed to add a new layer of interactivity to Gadfly plots.
>
> I've also posted two tutorial videos:
> https://www.youtube.com/watch?v=urM4SY92QTI
> https://www.youtube.com/watch?v=2ic5vj9hD-w
>
> The second video in particular has "the fun stuff," and shows some
> features
> I've long wished for in Julia: really good ways to go backwards from
> plotted
> objects to the data underlying each object, so that one can figure out
> what's
> going on in a complex, multidimensional data set.
>
> It probably goes without saying, but Immerse is so new that you should
> expect
> a certain amount of API churn as it evolves. In particular, I've already
> changed one of the `hit` callback arguments since I filmed that second
> video
> this morning :-). However, I personally find that it's already quite
> functional
> and darned handy; I encourage you to start making use of it and see
> whether it
> makes a difference in your work.
>
> Despite my attempts to upload these videos to the JuliaLanguage youtube
> channel, these seem to be going to my personal channel (which I didn't
> even
> have, before now...). If anyone has any tips about how to transfer them,
> I'd
> be grateful.
>
> Best,
> --Tim
>
>