Plots a list of values as points.
.wl リファレンスとの相違: `PointSize` in `PlotStyle` and `ListPlot`'s `PlotLabel`
ListPlot[{y1, …, yn}]
ListPlot[{{x1, y1}, …, {xn, yn}}]
ListPlot[{data1, data2, …}]
ListPlot[{…, w[datai, …], …}]
Head[ListPlot[{1, 2, 3, 4}]]
→ GraphicsHead[ListPlot[{Labeled[Sqrt[Range[40]], "sqrt"], Labeled[Log[Range[40, 80]], "log"]}]]
→ GraphicsHead[ListPlot[{{1, 2, 3}, {2, 3, 4}}, Filling -> {1 -> {2}}]]
→ GraphicsHead[ListPlot[{Sort@First@Last[Reap[Plot[Sin[x], {x, 0, 2 Pi}, EvaluationMonitor :> Sow[{x, Sin[x]}]]]], Sort@First@Last[Reap[Plot[Cos[x], {x, 0, 2 Pi}, EvaluationMonitor :> Sow[{x, Cos[x]}]]]]}, Filling -> {1 -> {2}}]]
→ GraphicsHead[ListPlot[{Around[2.2, 1.2], Around[3.3, 1.1], Around[5.9, 0.6]}]]
→ GraphicsStringContainsQ[ExportString[ListPlot[{{1, 1}, {2, 2}}, PlotStyle -> {PointSize[0.04], Red}], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[ListPlot[{{{1, 1}, {2, 2}}, {{1, 2}, {2, 3}}}, PlotStyle -> {Red, Green}], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[ListPlot[{{1, 1}, {2, 2}, {3, 3}}, PlotMarkers -> Style["A", Red, 18]], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[ListPlot[{{{1, 1}, {2, 2}}, {{1, 2}, {2, 3}}}, PlotMarkers -> {"A", "B"}], "SVG"], "<svg"]
→ TrueStringContainsQ[ExportString[ListPlot[{{0, 0.}, {1, 1.}}, Epilog -> {Green, Line[{{0, 0.5}, {1, 0.5}}]}], "SVG"], "<svg"]
→ True- AspectRatio — default 1/ GoldenRatio
- Axes — default True
- ColorFunction — default Automatic
- ColorFunctionScaling — default True
- DataRange — default Automatic
- IntervalMarkers — default Automatic
- IntervalMarkersStyle — default Automatic
- Filling — default None
- FillingStyle — default Automatic
- Joined — default False
- LabelingFunction — default Automatic
- LabelingSize — default Automatic
- LabelingTarget — default Automatic
- MultiaxisArrangement — default None
- PerformanceGoal — default $PerformanceGoal
- PlotFit — default None
- PlotFitElements — default Automatic
- PlotHighlighting — default Automatic
- PlotInteractivity — default $PlotInteractivity
- PlotLabel — default None
- PlotLabels — default None
- PlotLayout — default "Overlaid"
- PlotLegends — default None
- PlotMarkers — default None
- PlotRange — default Automatic
- PlotRangeClipping — default True
- PlotStyle — default Automatic
- PlotTheme — default $PlotTheme
- ScalingFunctions — default None
- TargetUnits — default Automatic