add .gitignore file
mod specify a position of legend flexibly