# Créé par fort, le 29/01/2024 en Python 3.7
from matplotlib import pyplot


xValues = [5, 3, 7, 9]
yValues = [6, 2, 9, 12]
xErrorValues = [1, 0.5, 2.5, 3]
yErrorValues = [0.5, 0.5, 2, 1.5]

pyplot.figure(1)
pyplot.clf()
pyplot.errorbar(xValues, yValues, xerr = xErrorValues, yerr = yErrorValues, capsize = 10, ecolor = 'red', marker = 'o', markersize = 10, markerfacecolor = 'blue', linestyle = 'none')
pyplot.axis
pyplot.title('Mon titre')
pyplot.xlabel('Grandeur en abscisse (unité)')
pyplot.ylabel('grandeur en ordonnée (unité)')


pyplot.legend()
pyplot.show()