Rudimentary code for efficiency plotting.