Changed dpi from 500 to 200 (for faster plotting)