Produces a new curve with amplitudes equal to the median value of the amplitudes of the existing visible curves. The new curve will have the identical X values as the first visible curve. DPlot interpolates the amplitudes of all other curves at a given X, sorts those amplitudes, and sets the value of the new curve to the median of those sorted values. If the number of amplitudes is even (2,4,6,etc.) DPlot uses the average of the two middle values.

Related macro commands 
Page url:
https://www.dplot.com/help/index.htm?helpid_medians.htm