# get the data from file t.dat in the same firectory
# octave strores them in a matrix t

load('t.dat')



#axis ([1, 2, 3, 4], "square");

#plot all data (10 colums (2 - 11, col 1 ist just counting)

plot (t(:,2:11), 'o-',  "markersize", 4)
title ('all data (10 columns m different colors)')
xlabel ('row')
axis ( [ 0 , 100 , 0, 1.05 ] )

disp(" Always hit CR for next plot")
pause()

# plot col y as a fnction of col x
for x=2:11
 for y=x+1:11
 plot (t(:,x),t(:,y),'o-r',  "markersize", 3)
 tt=strcat(" x = col {} ",num2str(x)," y = col {}",num2str(y));
 title (tt)
 xlabel (strcat('column {}  ',num2str(x)))
 ylabel (strcat('column {}  ',num2str(y)))
# axis ( [ -0.1 , 1.1 , -0.1 , 1.1 ] )
  axis()
  pause()
 
 endfor
endfor

# make 3D plots
for x=2:11
 for y=x+1:11
  for z=y+1:11

 plot3 (t(:,x),t(:,y),t(:,z),'o-r',  "markersize", 3)
 tt=strcat(" x = col {}",num2str(x)," y = col {}",num2str(y)," z = col {}",num2str(z));
 title (tt)
 xlabel (num2str(x))
 ylabel (num2str(y))
 zlabel (num2str(z))
 axis ( [ -0.1 , 1.1 , -0.1 , 1.1 , -0.1 , 1.1 ] )
  pause()
  endfor
 endfor
endfor