fixed base grating plot error

Signed-off-by: Lindsey <glickfeld@neuro.duke.edu>