function plotme3dFofXY(f, xlim, ylim)
Nx=150;
Ny=150;
xv=linspace(xlim(1),xlim(2),Nx);
yv=linspace(ylim(1),ylim(2), Ny);


for i=1:Nx
	for j=1:Ny
		x(j,i)=xv(i);
		y(j,i)=yv(j);
		z(j,i)=f([xv(i),yv(j)]);
	end
end

surf(x,y,z); colormap('default')

end

		
