2
$\begingroup$

Looks like plots became of low quality in Mathematica 9?

enter image description here

How to make Mathematica to plot continuously? Logically current plot style is solid.

$\endgroup$
4
  • $\begingroup$ Looks fine for me, 9.0.1 on Windows. $\endgroup$
    – ciao
    May 31, 2014 at 7:27
  • $\begingroup$ You can remove the gaps by adding Exclusions -> None so it will be a continuous stairs like plot $\endgroup$
    – Nasser
    May 31, 2014 at 7:57
  • $\begingroup$ Please post the actual code (as text) in addition to the picture. $\endgroup$
    – Yves Klett
    May 31, 2014 at 8:25
  • $\begingroup$ The CDF of a binomial distribution is not a continuous function. $\endgroup$
    – Mike Z.
    May 31, 2014 at 12:36

1 Answer 1

6
$\begingroup$

Interestingly, your plot rendered fine as per my comments, and more interestingly, as soon as I added an Export after the fact, the plot looked like yours. This persisted even after removing the export and re-plotting: I had to quit the kernel, restart, and re-plot. Might be a weird bug, I will be investigating further.

In any case, DiscretePlot is really better suited to the CDF of a discrete distribution:

DiscretePlot[CDF[BinomialDistribution[1001, 1/2], x], {x, 0, 1001}, 
             PlotRange -> {0, 1}, Filling -> None, Joined -> True]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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