For 2D, would switching to Gadfly be advisable? Not sure how to get Gadfly to plot in a separate window to do the animation.
On 21 Aug 2014, at 9:51 am, Simon Danisch <sdani...@gmail.com> wrote: > Good to hear. > The test looks funny, as I overlay everything GLPlot is able to do ;) > I should remove example.jl, as it uses legacy code. > I'm not sure about the surface example, though... Did you change anything? > This might be due to a change of the output from imread (Images.jl) and > shouldn't be a problem if you use your own arrays. > I'll have a look at this tomorrow... > > > 2014-08-20 23:58 GMT+02:00 Sheehan Olver <dlfivefi...@gmail.com>: > OK I rebuilt julia and cleared my .julia folder, which seems to have cleared > that issue. Pkg.test(“GLPlot”) seems to work, though the output looks funny. > I also get the following: > > julia> include("surface.jl") > INFO: loaded GLFW 3.0.4 Cocoa NSGL chdir menubar dynamic from > /Users/solver/.julia/v0.4/GLFW/deps/usr64/lib/libglfw > ERROR: Color Format RGBA not supported > in error at error.jl:21 > in Texture at /Users/solver/.julia/v0.4/GLAbstraction/src/GLTexture.jl:156 > in include at ./boot.jl:245 > in include_from_node1 at ./loading.jl:128 > while loading /Users/solver/.julia/v0.4/GLPlot/example/surface.jl, in > expression starting on line 24 > > julia> include("example.jl") > INFO: loaded GLFW 3.0.4 Cocoa NSGL chdir menubar dynamic from > /Users/solver/.julia/v0.4/GLFW/deps/usr64/lib/libglfw > ERROR: Cam not defined > in include at ./boot.jl:245 > in include_from_node1 at ./loading.jl:128 > while loading /Users/solver/.julia/v0.4/GLPlot/example/example.jl, in > expression starting on line 25 > > > On 20 Aug 2014, at 9:37 pm, Tim Holy <tim.h...@gmail.com> wrote: > > > You might need a Pkg.update(), or Pkg.build("Images") if the update doesn't > > solve it. > > > > --Tim > > > > On Wednesday, August 20, 2014 09:23:16 PM Sheehan Olver wrote: > >> OK Now I get > >> > >> could not open file > >> /Users/solver/.julia/v0.3/Images/src/ioformats/../../deps/deps.jl while > >> loading /Users/solver/.julia/v0.3/Images/src/ioformats/libmagickwand.jl, in > >> expression starting on line 24 while loading > >> /Users/solver/.julia/v0.3/Images/src/Images.jl, in expression starting on > >> line 38 while loading > >> /Users/solver/.julia/v0.3/GLAbstraction/src/GLTexture.jl, in expression > >> starting on line 1 while loading > >> /Users/solver/.julia/v0.3/GLAbstraction/src/GLTypes.jl, in expression > >> starting on line 40 while loading > >> /Users/solver/.julia/v0.3/GLAbstraction/src/GLAbstraction.jl, in expression > >> starting on line 8 > >> On 20 Aug 2014, at 9:06 pm, Simon Danisch <sdani...@gmail.com> wrote: > >>> Yes I do =) > >>> You need to install Images.jl properly with its dependency. > >>> https://github.com/timholy/Images.jl > >>> I should at some point load this conditional, as you don't really need > >>> Images.jl as long as you don't read images from your HD. > >>> > >>> > >>> 2014-08-20 13:01 GMT+02:00 Sheehan Olver <dlfivefi...@gmail.com>: > >>> OK I cloned all the necessary projects but get the following error on OS > >>> X, and thoughts? > >>> > >>> julia> include("surface.jl") > >>> ERROR: error compiling Texture: error compiling __Texture#30__: error > >>> compiling imread: error compiling imread: error compiling MagickWand: > >>> could not load module : dlopen(.dylib, 1): image not found> > >>> in GLFont at /Users/solver/.julia/v0.3/GLText/src/types.jl:97 > >>> in inittext at /Users/solver/.julia/v0.3/GLText/src/GLText.jl:13 > >>> in init_glutils at > >>> /Users/solver/.julia/v0.3/GLAbstraction/src/GLInit.jl:13 > >>> in createwindow at > >>> /Users/solver/.julia/v0.3/GLWindow/src/reactglfw.jl:299 > >>> in createdisplay at /Users/solver/.julia/v0.3/GLPlot/src/GLPlot.jl:43 > >>> in include at ./boot.jl:245 > >>> in include_from_node1 at ./loading.jl:128 > >>> > >>> while loading /Users/solver/.julia/v0.3/GLPlot/example/surface.jl, in > >>> expression starting on line 3> > >>> On 20 Aug 2014, at 8:37 pm, Simon Danisch <sdani...@gmail.com> wrote: > >>>> In theory it does support 2D plotting, but I didn't invest much work into > >>>> it, as 3D is my main focus. In other words: > >>>> There's nothing working out of the box, but if you are willing to invest > >>>> some work, there are already a lot of tools to make 2D plotting possible > >>>> and I would be willing to support you with any efforts. > >>>> > >>>> > >>>> Am Dienstag, 19. August 2014 07:46:22 UTC+2 schrieb Sheehan Olver: > >>>> Hi, > >>>> > >>>> Is there a way to force plotting in PyPlot.jl, to simulate animation? > >>>> Right now if I do a for loop over a sequence of plots, it only outputs > >>>> the last plot. > >>>> > >>>> This is in IJulia running on OS X with matplotlib version 1.3.1 > >>>> installed, and pygui(true) > >>>> > >>>> Sheehan > > > >