Edit ex1/plotData.m forreadability