Update barplot_tool.r

made figure attributes adjustable