fixing 1D plots