legend escaping in PGFPLOTS