- This program plots a spike graph of the distribution Bernoulli trials with probability of success p for three different values of n. You can specify "p" and the values of n: "n1","n2","n3". These graphs are all plotted on the same set of axes.


The source.