function [] = plotgrid(X,Y) hold on; plot(X, Y); plot(transpose(X), transpose(Y)); end