added 1D index printing to set plot