close to being ready to plot marginals arbitrarily