I am having trouble achieving this effect with on the x-axis. Does anybody have an idea how I can achieve this effect?

  • 2
    $\begingroup$ As a slight correction to kglr's comment: the "number theory" version of the logarithmic integral is expressed as LogIntegral[x] - LogIntegral[2]. $\endgroup$ Mar 9, 2019 at 0:02
  • $\begingroup$ Welcome to Mathematica.SE, Kanye! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! $\endgroup$
    – Chris K
    Mar 9, 2019 at 8:36

1 Answer 1

  PrimePi[x]/(x/Log[x])}, {x, 2, 10000000}, GridLines -> {None, {1}}]

enter image description here

Thanks: @J.M.iscomputer-less for the LogIntegral[2] correction.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.