Plotting Median Lines correctly

Plotting Median Lines correctly

Plotting Median Lines correctly