Fid = fopen('D:/data.txt');x = 1;while(~feof(Fid))s = fgetl(Fid);num = str2num(s)for i=1:length(num) plot(x,num(i),'.'); hold on;endx = x+1;hold onendfclose(Fid);