allow specifying width and height of the produced figure
add option to enabled grid in plot, set default location of legend to best