example plot with error bars