function myeval(xs, funid)
	ys = [];
	for x=xs
		str = ['ys = [ys, ', funid, '(', sprintf('%i', x), ')];'];
		eval(str);
	end;

	xlabel('x');
	ylabel('y');
	plot(xs, ys);
	print('-depsc', 'eval-out.eps')
% @types void, vector, string
