implemented plotting 1D data from 3D stacks.