P: added plotting with errorbars, but not quite sure....