It's question time; asking something on tex.SE
Answer for question regarding legends

I've updated the original document for
http://tex.stackexchange.com/q/136427/828 with the answer
http://tex.stackexchange.com/a/136436/828