plotBMA functions