function fig = MD()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.

load MD

h0 = figure('Units','normalized', ...
	'Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'CreateFcn','R2adm(''initiate'')', ...
	'FileName','C:\MATLABR11\work\MD.m', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[0.4541015625 0.05208333333333333 0.408203125 0.83984375], ...
	'Renderer','zbuffer', ...
	'RendererMode','manual', ...
	'Tag','Fig1', ...
	'ToolBar','none', ...
	'UserData',mat1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0 1 1], ...
	'FontSize',25, ...
	'ListboxTop',0, ...
	'Position',[0.1 0.9 0.53 0.06],...
	'String','Multi D lab', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','R2adm(''uv'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.930703085483055 0.1616161616161616 0.04046535154274153], ...
	'String','sin(12*x.*y)', ...
	'Style','edit', ...
	'Tag','u');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''gallery'')', ...
	'ListboxTop',0, ...
	'Max',4, ...
	'Min',1, ...
	'Position',[0.74 0.8093070308548306 0.2289562289562289 0.04046535154274153], ...
	'String',mat2, ...
	'Style','popupmenu', ...
	'Tag','gallery', ...
	'UserData','u', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''contours'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.4062 0.16 0.04], ...
	'String','contours', ...
	'Style','checkbox', ...
	'Tag','contours', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''gradients'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.35348 0.16 0.04], ...
	'String','gradients', ...
	'Style','checkbox', ...
	'Tag','gradients', ...
	'Value',1);
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''domain'')', ...
	'ListboxTop',0, ...
	'Position',[0.24 0.02 0.16 0.04], ...
	'String','domain', ...
	'Tag','Pushbutton1');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''refine'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.02 0.16 0.04], ...
	'String','refine mesh', ...
	'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'HandleVisibility','off', ...
	'ListboxTop',0, ...
	'Position',mat3, ...
	'Style','text', ...
	'Tag','StaticText2', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'HandleVisibility','off', ...
	'ListboxTop',0, ...
	'Position',mat4, ...
	'Style','text', ...
	'Tag','StaticText3', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''mesh'')', ...
	'ListboxTop',0, ...
	'Position',[0.62 0.02 0.16 0.04], ...
	'String','mesh', ...
	'Tag','Pushbutton3');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','set(gcbf,''WindowButtonDownFcn'',''R2adm(''''modify'''')'')', ...
	'ListboxTop',0, ...
	'Position',[0.43 0.02 0.16 0.04], ...
	'String','modify', ...
	'Tag','Pushbutton4');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''integrate'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.5736 0.16 0.04], ...
	'String','integrate', ...
	'Tag','Pushbutton5');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'Callback','R2adm(''uv'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.8700050581689429 0.1616161616161616 0.04046535154274153], ...
	'String','x.^2+y.^2', ...
	'Style','edit', ...
	'Tag','v');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''uv field'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.30542 0.16 0.04], ...
	'String','uv field', ...
	'Tag','uv field');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''div'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.724031 0.16 0.04], ...
	'String','div(u,v)', ...
	'Tag','Pushbutton7');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''rot'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.675 0.16 0.04], ...
	'String','rot(u,v)', ...
	'Tag','Pushbutton8');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''div(grad(u))'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.6248 0.16 0.04], ...
	'String','div(grad u)', ...
	'Tag','Pushbutton9');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''work'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.1565 0.16 0.04], ...
	'String','work', ...
	'Tag','Pushbutton10');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''crossflow'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.1054 0.16 0.04], ...
	'String','crossflow', ...
	'Tag','Pushbutton11');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''curve'')', ...
	'ListboxTop',0, ...
	'Position',[0.05 0.02 0.16 0.04], ...
	'String','curve', ...
	'Tag','Pushbutton12');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','set(findobj(gcbf,''Tag'',''gallery''),''Userdata'',''u'')', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.74 0.930703085483055 0.067 0.04], ...
	'String','u =', ...
	'Tag','Pushbutton13');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','set(findobj(gcbf,''Tag'',''gallery''),''Userdata'',''v'')', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.74 0.8700050581689429 0.067 0.04], ...
	'String','v =', ...
	'Tag','Pushbutton14');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''u ds'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.2046 0.16 0.04], ...
	'String','u ds', ...
	'Tag','Pushbutton15');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.3501683501683501 0.5462822458270107 0.404040404040404 0.04046535154274153], ...
	'String','integral = -0.072128', ...
	'Style','text', ...
	'Tag','integral', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 0], ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.3501683501683501 0.1213960546282246 0.404040404040404 0.04046535154274153], ...
	'String','define boudary curve', ...
	'Style','text', ...
	'Tag','curveint', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''Jac'')', ...
	'ListboxTop',0, ...
	'Position',[0.81 0.252 0.16 0.04], ...
	'String','jacobian', ...
	'Tag','jacobian');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.5 0.42 0.06 0.035], ...
	'String','y =', ...
	'Style','text', ...
	'Tag','y=', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.5 0.46 0.06 0.035], ...
	'String','x =', ...
	'Style','text', ...
	'Tag','x=', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[0.6 0.42 0.16 0.04], ...
	'String','sin(2*pi*s)', ...
	'Style','edit', ...
	'Tag','y', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[1 1 1], ...
	'ListboxTop',0, ...
	'Position',[0.6 0.46 0.16 0.04], ...
	'String','cos(2*pi*s)', ...
	'Style','edit', ...
	'Tag','x', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback','R2adm(''ok'')', ...
	'FontSize',12, ...
	'ListboxTop',0, ...
	'Position',[0.4 0.44 0.06 0.04], ...
	'String','ok', ...
	'Tag','ok', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.8 0.8 0.8], ...
	'HandleVisibility','off', ...
	'ListboxTop',0, ...
	'Position',mat5, ...
	'String','Az:  -38 El:   30', ...
	'Style','text', ...
	'Tag','StaticText4', ...
	'Visible','off');
h1 = uicontrol('Parent',h0, ...
	'Units','normalized', ...
	'BackgroundColor',[0.701961 0.701961 0.701961], ...
	'Callback',mat6, ...
	'ListboxTop',0, ...
	'Position',[0.81 0.5255 0.16 0.04], ...
	'String','u tang plane', ...
	'Tag','Pushbutton6');
h1 = axes('Parent',h0, ...
	'CameraUpVector',[0 1 0], ...
	'Color',[1 1 1], ...
	'ColorOrder',mat7, ...
	'DataAspectRatioMode','manual', ...
	'PlotBoxAspectRatio',[229.9 193.5 322.4999999999999], ...
	'PlotBoxAspectRatioMode','manual', ...
	'Position',[0.1 0.13 0.55 0.3], ...
	'Tag','Axes2', ...
	'WarpToFill','off', ...
	'XColor',[0 0 0], ...
	'XLim',[-0.4972000000000001 1.1], ...
	'XLimMode','manual', ...
	'YColor',[0 0 0], ...
	'ZColor',[0 0 0],...
        'Userdata','a2');
h2 = patch('Parent',h1, ...
	'EdgeColor','none', ...
	'FaceColor','interp', ...
	'Faces',mat8, ...
	'FaceVertexCData',mat9, ...
	'Tag','Axes2Patch1', ...
	'VertexNormals',mat10, ...
	'Vertices',mat11);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',mat12, ...
	'Tag','Axes2Text4', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',mat13, ...
	'Tag','Axes2Text3', ...
	'VerticalAlignment','cap');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',mat14, ...
	'Rotation',90, ...
	'Tag','Axes2Text2', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',mat15, ...
	'Tag','Axes2Text1', ...
	'Visible','off');
set(get(h2,'Parent'),'ZLabel',h2);
h2 = line('Parent',h1, ...
	'Color',[0 1 0], ...
	'Tag','curve', ...
	'UserData',mat16, ...
	'XData',mat17, ...
	'YData',mat18);
h2 = line('Parent',h1, ...
	'Color',[0 0 1], ...
	'Tag','Axes2Line2', ...
	'XData',mat19, ...
	'YData',mat20);
h2 = line('Parent',h1, ...
	'Color',[1 0 0], ...
	'Tag','Axes2Line1', ...
	'XData',mat21, ...
	'YData',mat22);
h2 = line('Parent',h1, ...
	'Color',[0 1 0], ...
	'Tag','curve', ...
	'XData',mat23, ...
	'YData',mat24);
h1 = axes('Parent',h0, ...
	'View',[-37.5 30], ...
	'CameraUpVector',[0 0 1], ...
	'Color',[1 1 1], ...
	'ColorOrder',mat25, ...
	'Position',[0.1 0.53 0.55 0.3], ...
	'Tag','Axes1', ...
	'XColor',[0 0 0], ...
	'XGrid','on', ...
	'YColor',[0 0 0], ...
	'YGrid','on', ...
	'ZColor',[0 0 0], ...
	'ZGrid','on',...
        'Userdata','a1');
h2 = patch('Parent',h1, ...
	'EdgeColor','none', ...
	'FaceColor','interp', ...
	'Faces',mat26, ...
	'FaceVertexCData',mat27, ...
	'Tag','Axes1Patch2', ...
	'VertexNormals',mat28, ...
	'Vertices',mat29);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-6.218381504859855 -5.114810389206848 10.11634519384031], ...
	'String','u(x,y)', ...
	'Tag','Axes1Text4', ...
	'VerticalAlignment','bottom');
set(get(h2,'Parent'),'Title',h2);
h2 = patch('Parent',h1, ...
	'EdgeColor','none', ...
	'FaceColor','interp', ...
	'Faces',mat30, ...
	'FaceVertexCData',mat31, ...
	'Tag','Axes1Patch1', ...
	'VertexNormals',mat32, ...
	'Vertices',mat33);
h2 = line('Parent',h1, ...
	'Color',[0 0 1], ...
	'Tag','Axes1Line2', ...
	'XData',mat34, ...
	'YData',mat35);
h2 = line('Parent',h1, ...
	'Color',[1 0 0], ...
	'Tag','Axes1Line1', ...
	'XData',mat36, ...
	'YData',mat37);
h2 = line('Parent',h1, ...
	'Color',[0 1 0], ...
	'Tag','curve', ...
	'XData',mat38, ...
	'YData',mat39);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'Position',[-6.669166990298415 -5.949001563767442 7.190026074508694], ...
	'Tag','Axes1Text3', ...
	'VerticalAlignment','top');
set(get(h2,'Parent'),'XLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','right', ...
	'Position',[-7.466764880974308 -5.525557550835212 7.232436496527994], ...
	'Tag','Axes1Text2', ...
	'VerticalAlignment','top');
set(get(h2,'Parent'),'YLabel',h2);
h2 = text('Parent',h1, ...
	'Color',[0 0 0], ...
	'HandleVisibility','off', ...
	'HorizontalAlignment','center', ...
	'Position',[-7.589083765801603 -4.917729823916955 8.730938074543216], ...
	'Rotation',90, ...
	'Tag','Axes1Text1', ...
	'VerticalAlignment','baseline');
set(get(h2,'Parent'),'ZLabel',h2);
if nargout > 0, fig = h0; end
