Qurak

Label a plot

Guide pratique 6 étapes, exécutées dans l'ordre dans une même session. Chaque étape a été exécutée sur le moteur et la sortie ci-dessous est ce qu'elle a produit.

Étape 1
Plot[Sin[x], {x, 0, 22}, PlotLabel -> "sin(x)"]
Sortie
-Graphics-
Étape 2
Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18]]
Sortie
-Graphics-
Étape 3
Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18], Background -> StandardYellow]
Sortie
-Graphics-
Étape 4
Labeled[Plot[Sin[x], {x, 0, 22}], "sin(x)"]
Sortie
Labeled[-Graphics-, sin(x)]
Étape 5
Labeled[Plot[Sin[x], {x, 0, 22}], Style["sin(x)", "Graphics"]]
Sortie
Labeled[-Graphics-, sin(x)]
Étape 6
Labeled[Plot[Sin[x], {x, 0, 22}], Style["sin(x)", "Graphics"], Background -> StandardYellow]
Sortie
Labeled[-Graphics-, sin(x), Background -> StandardYellow]

Fonctions utilisées

Recettes connexes

Toutes les recettes · Référence des fonctions · Utiliser ceci depuis un client MCP