Would be great to get a calculation for the median of values as 'MED' in the Type parameter for plot functions.