ListPlot
[{$y_1$, $y_2$, ...}]ListPlot
[{{$x_1$, $y_1$}, {$x_2$, $y_2$}, ...}]ListPlot
[{$list_1$, $list_2$, ...}]The frequency of Primes:
ListPlot[Prime[Range[30]]]
seems very roughly to fit a table of quadradic numbers:
ListPlot[Table[n ^ 2 / 8, {n, 30}]]
ListPlot accepts some Graphics options:
ListPlot[Table[n ^ 2, {n, 30}], Joined->True]
Compare with Plot
.
ListPlot[Table[n ^ 2, {n, 30}], Filling->Axis]
Compare with Plot
.