function k2_plot(DAT)

%K2_PLOT plots P-Values against distance for K-functions 

%Written by: T.E.Smith 1/20/01


%INPUTS: DAT = nx2 matrix of (P-value, distance) pairs (Pi,Di)


%SCREEN OUTPUT: Plot of P-values against distance


P = DAT(:,1);

D = DAT(:,2);

plot(D,P,'k.','MarkerSize',20) %k = black (p.215 in Manual)

hold on;

plot(D,P,'k-','Linewidth',2);
