?? dsisplot.m
字號:
function dsisPlot(dbg,itn,order,x,s,e,ns,out)% Show some pretty picturesif dbg==0 return;elseif dbg==2 fprintf('Iteration %d: %d/%d image vertices outside\n',itn, sum(out),size(ns,2)); returnendif itn>0 str = sprintf('Iteration %d: %d/%d image points outside',itn, sum(out), size(ns,2));else str = sprintf('Final object: %d vertices and %d edges', size(s,2), size(e,2));endclf;if order == 2 dotplot(x); hold on; grid; polyplot(s,'k'); dotplot(ns,'ko'); dotplot(ns(:,logical(out)),'rs'); title(str); drawnow;elseif order >= 3 dotplot(x); edgeplot(e,s); dotplot(ns,'+'); dotplot(ns(:,logical(out)),'rs'); subplot(222); title(str); drawnow;end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -