Skip to main content

Timeline for Plot sublists as different colors

Current License: CC BY-SA 3.0

11 events
when toggle format what by license comment
May 23, 2013 at 14:34 comment added rcollyer @YvesKlett no, just wanted nice packaging for it. :)
May 23, 2013 at 14:33 comment added Yves Klett No, your solution is dandy. I misread @rcollyer wish list and thought he was just after the Partition[lst, #, #, 1, {}] part which I always struggle to remember (gotta bookmark this!). Sorry for arousing false hopes!
May 23, 2013 at 14:31 comment added rcollyer @YvesKlett I did not think it was directly up to that. I thought it required some pre-processing first (based on list length, etc.) to work.
May 23, 2013 at 14:30 comment added rcollyer Exactly. It just needed packaging.
May 23, 2013 at 14:28 comment added Mr.Wizard @Yves do you mean my use with e.g. Ceiling or something native to Partition itself I'm overlooking?
May 23, 2013 at 14:21 comment added Yves Klett @rcollyer yes, Partition is already up to that - I always struggle to remember the syntax, though :-)
May 23, 2013 at 13:58 comment added Mr.Wizard @rcollyer you mean like this?
May 23, 2013 at 13:55 comment added rcollyer Now there's a function that would be useful: SplitInto[lst, n] or PartitionInto[lst, n] where it would partition a list into n sublists of equal length. Additional settings would be needed to deal with non-divisible splits, but that's just details. +1, btw.
May 23, 2013 at 13:54 comment added Mr.Wizard @Yves Thanks! :-)
May 23, 2013 at 13:53 comment added Yves Klett darn - short and sweet!
May 23, 2013 at 13:50 history answered Mr.Wizard CC BY-SA 3.0