Qurak

Label a plot

Инструкция 6 шагов, выполняемых по порядку в одной сессии. Каждый шаг был выполнен на движке, и вывод ниже — то, что он дал.

Шаг 1
Plot[Sin[x], {x, 0, 22}, PlotLabel -> "sin(x)"]
Вывод
-Graphics-
Шаг 2
Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18]]
Вывод
-Graphics-
Шаг 3
Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18], Background -> StandardYellow]
Вывод
-Graphics-
Шаг 4
Labeled[Plot[Sin[x], {x, 0, 22}], "sin(x)"]
Вывод
Labeled[-Graphics-, sin(x)]
Шаг 5
Labeled[Plot[Sin[x], {x, 0, 22}], Style["sin(x)", "Graphics"]]
Вывод
Labeled[-Graphics-, sin(x)]
Шаг 6
Labeled[Plot[Sin[x], {x, 0, 22}], Style["sin(x)", "Graphics"], Background -> StandardYellow]
Вывод
Labeled[-Graphics-, sin(x), Background -> StandardYellow]

Используемые функции

Связанные рецепты

Все рецепты · Справочник функций · Использовать из MCP-клиента