This may be because the horizontal data range is wrong - see "I try to plot data and the ranges are wrong".