added option to show background grid in plot, increased font size of legends