This plot shows a simulated sample of size 5000 from the posterior distribution of (log(m/(1-m)), log(K)) for the binomial/beta exchangeable model run on the Efron and Morris baseball example. Gibbs sampling was implemented by the Matlab command

s=gibbs('betabin',[-1 4],5000,[.2 1.7],data);