Qurak

Label a plot

ハウツー 6 ステップを1つのセッション内で順に実行します。各ステップはエンジンで実行済みで、以下の出力は実際に生成されたものです。

ステップ 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クライアントから使う