Reverted some of my changes and played around with legend settings. Now works for massive numbers of samples
Updated axis label