transformation d’un graphique 2D