%
% Draw a mesh or surf object (3D) using the existing Matlab data 'peaks'.
%
clear
figure

mobj = surf( peaks ); % or mobj = mesh( peaks );
xlabel('x');
ylabel('y');

writeoogl( mobj, 'surf.mesh', 1, 1, 3 );
