[julia-users] Re: Vectorised usage of Compose

2016-04-16 Thread Christoph Ortner
so for those who are interested, I found a partial solution in how VoronoiDelaunay plots meshes. Basically, one can interrupt lines and polygons using NaNs. For example: points = Tuple{Float64, Float64}[] for n = 1:size(T, 2) p = [X[:, T[:, n]] X[:, T[1,n]]] for m = 1:size(p, 2)

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Cedric St-Jean
That sucks. I've noticed that one of {Firefox, IJulia, Compose} is leaking memory when I do Compose.jl animations, that might be part of the issue as well. On Friday, April 15, 2016 at 5:37:47 PM UTC-4, Christoph Ortner wrote: > > > thanks for the suggestion. Unfortunately, the ... (splat?)

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Christoph Ortner
thanks for the suggestion. Unfortunately, the ... (splat?) operator makes this very slow for larger collections. Christoph On Friday, 15 April 2016 19:10:12 UTC+1, Cedric St-Jean wrote: > > > > On Friday, April 15, 2016 at 12:30:51 PM UTC-4, Christoph Ortner wrote: >> >> right I mean b) - I

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Cedric St-Jean
On Friday, April 15, 2016 at 12:30:51 PM UTC-4, Christoph Ortner wrote: > > right I mean b) - I have 1000, say, line segments or polygons, each with > the same number of points. All I can do is loop, yes? > Not a compose expert either, but I used a list comprehension to make a grid and it

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Andreas Lobinger
Hello colleague, On Friday, April 15, 2016 at 6:30:51 PM UTC+2, Christoph Ortner wrote: > > right I mean b) - I have 1000, say, line segments or polygons, each with > the same number of points. All I can do is loop, yes? > > Thanks, > Christoph > > > > you are saying this is currently not

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Christoph Ortner
right I mean b) - I have 1000, say, line segments or polygons, each with the same number of points. All I can do is loop, yes? Thanks, Christoph you are saying this is currently not implemented, I just have to On Friday, 15 April 2016 17:12:46 UTC+1, Andreas Lobinger wrote: > > Hello

[julia-users] Re: Vectorised usage of Compose

2016-04-15 Thread Andreas Lobinger
Hello colleague, On Friday, April 15, 2016 at 5:17:29 PM UTC+2, Christoph Ortner wrote: > > I understand from the example > how to vectorise drawing of circles. > > The syntax for a two-point line segment seems to beline( [(x0, y0), > (x1, y1)] ) I don't see an analogy with `circle`? > >