use [plot] xloc when calculating the basex for its elements