improved deletion of equipment, added gaps to plot when there are gaps in acquisition