plot_magnitude function

Plot the mean or median for a continuous variable