Altering the plot function to enable a wide range of colors if needed while plotin multiple instrument (currently maxColors=5)