single plot working