I am trying to plot the cdf of a binomial random variable, which has jump discontinuities at each of the integers with positive probability mass. Typically, when plotting a piecewise function, one would prefer not to have Maple connect all the points of discontinuity with a vertical line, and discont=true achieves that. Why doesn't the following command yield the expected results:
with(Statistics):
with(plots):
X:=RandomVariable(Binomial(25,.65)):
F:=x->CDF(X,x):
plot(F(x),x=-1..27,y=0..0.5,gridlines=true,discont=true)
The plot I get still has vertical lines connecting the jump discontinuities.
Any ideas/help will be greatly appreciated, thanks!