Documentation

Function defined in library pytamaro.fr

cote_a_cote(graphique_gauche, graphique_droite)

cote_a_cotegraphique_gauchegraphique_droite

Créé un graphique en plaçant les deux graphiques fournis côte à côte. Les deux graphiques sont centrés verticalement.

Le point d’ancrage du nouveau graphique est en son centre.

graphique_gauchele graphique à placer à gauche

graphique_droitele graphique à placer à droite

Le graphique résultant après avoir placé les deux graphiques l’un à côté de l’autre
Code
montre_graphique(cote_a_cote(rectangle(100, 50, rouge), rectangle(50, 50, bleu)))
Output
Graphical output from execution result

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 0a56f08d (Wed, 29 Apr 2026 08:58:46 GMT)