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 用戶端使用這個