Thanks; I should have thought of nans myself.

I'm now using Compose. This works beautifully and is fast. The only
issue is that it doesn't scale the graph automatically, i.e. one has
to choose the size of the graph manually. That's fine for the moment,
and if not, I'm sure it's easy to implement a walk over the compose
tree.

-erik


On Sat, Sep 27, 2014 at 5:05 PM, Ariel Keselman <[email protected]> wrote:
> I just did something like what you describe and the following method worked 
> very fast:
>
> Don't use layers. Instead use Nan's to cut the line. So for eg. An array 
> 1,2,3,nan,4,5,6 will draw as two lines.



-- 
Erik Schnetter <[email protected]>
http://www.perimeterinstitute.ca/personal/eschnetter/

Reply via email to