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