Qurak

Label a plot

Hướng dẫn 6 bước, chạy theo thứ tự trong một phiên. Từng bước đều được thực thi trên bộ máy và đầu ra bên dưới là những gì nó tạo ra.

Bước 1
Plot[Sin[x], {x, 0, 22}, PlotLabel -> "sin(x)"]
Đầu ra
-Graphics-
Bước 2
Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18]]
Đầu ra
-Graphics-
Bước 3
Plot[Sin[x], {x, 0, 22}, PlotLabel -> Style["sin(x)", FontSize -> 18], Background -> StandardYellow]
Đầu ra
-Graphics-
Bước 4
Labeled[Plot[Sin[x], {x, 0, 22}], "sin(x)"]
Đầu ra
Labeled[-Graphics-, sin(x)]
Bước 5
Labeled[Plot[Sin[x], {x, 0, 22}], Style["sin(x)", "Graphics"]]
Đầu ra
Labeled[-Graphics-, sin(x)]
Bước 6
Labeled[Plot[Sin[x], {x, 0, 22}], Style["sin(x)", "Graphics"], Background -> StandardYellow]
Đầu ra
Labeled[-Graphics-, sin(x), Background -> StandardYellow]

Các hàm được dùng

Công thức liên quan

Tất cả công thức · Tài liệu tham chiếu hàm · Dùng cái này từ một client MCP