Remove legend, fix error plot source directory.