Qurak

Label a plot

Anleitung 6 Schritte, der Reihe nach in einer Sitzung ausgeführt. Jeder Schritt wurde gegen die Engine ausgeführt, und die Ausgabe unten ist, was er erzeugte.

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

Verwendete Funktionen

Verwandte Rezepte

Alle Rezepte · Funktionsreferenz · Dies aus einem MCP-Client verwenden