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

PyTamaro logo

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

Privacy Policy • Platform Version 3217fcf4 (November 24, 2026 at 6:34:26 AM UTC)