function DM_showcontours(hObject)

global data


if strcmp(get(hObject,'Checked'),'off')
    set(hObject,'Checked','on');
    set(data.handles.contour.nodune,'Visible','on')
    if strcmp(get(data.handles.pcolor.dune,'Visible'),'on')
        set(data.handles.contour.dune,'Visible','on')
    end
elseif strcmp(get(hObject,'Checked'),'on')
    set(hObject,'Checked','off');
    set(data.handles.contour.nodune,'Visible','off')
    set(data.handles.contour.dune,'Visible','off') 
end



