Plots a function (or list of functions) over a range.
Plot[f, {x, xmin, xmax}]
Plot[{f1, f2, …}, {x, xmin, xmax}]
Plot[{…, w[fi], …}, …]
Plot[…, {x}∈ reg]
Head[Plot[Sin[x], {x, 0, Pi}]]
→ GraphicsPositive[Length[First@Last[Reap[Plot[Sin[x], {x, 0, 2 Pi}, EvaluationMonitor :> Sow[x]]]]]]
→ TrueStringContainsQ[ExportString[Plot[x, {x, 0, 6*10^15}], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[Plot[x, {x, 0, 0.001}], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[Plot[E^x, {x, 0, 10}, PlotRange -> All], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[Plot[Sin[x], {x, 0, 2 Pi}, Ticks -> {{0, Pi/2, Pi, 3 Pi/2, 2 Pi}, Automatic}], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[Plot[{Sin[x], 2 Sin[x], 3 Sin[x]}, {x, 0, 2 Pi}, Filling -> {{1 -> {2}}, {3 -> 0}}], "SVG"], "<svg"]
→ True- PlotRange — y-axis range as {ymin, ymax} or full
- PlotStyle — one directive (Red, Dashed, Thickness[0.01])
- AxesLabel — {xLabel, yLabel}.
- PlotLabel — string/expression drawn above the plot.
- PlotLegends — legend labels.
- ImageSize — size in pixels, either a scalar or {w, h}.
- AspectRatio — height ÷ width ratio of the plot area.
- GridLines — None, Automatic, or {xSpecs, ySpecs}.
- Ticks — tick spec, None, or Automatic.
- Axes — show axes (True/False or {xBool, yBool}).
- AxesOrigin — location of the axes intersection.
- PlotPoints — initial sample count.
- MaxRecursion — sub-division depth for adaptive sampling.
- Filling — region to fill (None, Axis, Bottom, Top, or a
- EvaluationMonitor — expression evaluated at every sampled point.
- FillingStyle — style directive for the filled region.
- Mesh — controls mesh markers (None, All, an integer).
- PlotTheme — named theme like "Scientific" or "Business".
- ColorFunction — named color map (e.g. "Rainbow").
- Background — background color.
- Frame — draw a frame around the plot (True / False).
- FrameLabel — labels for the frame sides.
- Epilog — extra graphics drawn on top of the plot.
- Prolog — extra graphics drawn beneath the plot.