added error bars plot support