replacing mu by median in plots