Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
$\begingroup$@BenIzd ListPlot by default plots its data starting from the point 1 on the abscissa. Try ListPlot[{2, 3, 4}] as an example. To correct your suggestion: either ListPlot[Table[Prime[n]/(n*Log[n]), {n, 2, 1000}], DataRange -> {2, 1000}] or ListPlot[Table[{n, Prime[n]/(n*Log[n])}, {n, 2, 1000}]]$\endgroup$
ListPlot[Table[Prime[n]/(n*Log[n]), {n, 2, 1000}]]
. $\endgroup$ListPlot
by default plots its data starting from the point 1 on the abscissa. TryListPlot[{2, 3, 4}]
as an example. To correct your suggestion: eitherListPlot[Table[Prime[n]/(n*Log[n]), {n, 2, 1000}], DataRange -> {2, 1000}]
orListPlot[Table[{n, Prime[n]/(n*Log[n])}, {n, 2, 1000}]]
$\endgroup$