attempt to colorize segments; didn't go very well so giving up
plotting works and there's an example, but the colorizing isn't very
nice
fixed example