Ok, we have axes...
Getting there...
Legends driven by axes too.
Axis switching works.
Median working correctly.
-- lots of unneeded code.
More unneeded code removed.