#include <oxstd.h>
#include <oxdraw.h>

main()
{
	decl x = range(-30,30,3) / 10;
	decl y = quann(range(1,14) / 15) * 2;
	decl z = exp(-sqr(x) / 2) .* exp(-sqr(y') / 2); // table

	DrawXYZ(0, x, y, z);

	x = (ranu(500, 1) - 0.5) * 6;
	y = (ranu(500, 1) - 0.5) * 6;
	z = exp(-sqr(x) / 2) .* exp(-sqr(y) / 2);  // vector!

	DrawXYZ(1, x, y, z);
	DrawAdjust(ADJ_AREA_3D, 1, -125, 25, 1000, 25);

	DrawAdjust(ADJ_PAPERSCALE, 60);
	ShowDrawWindow();
}
