Saves barchart with error bars