📄 findedge.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head> <title>Description of findedge</title> <meta name="keywords" content="findedge"> <meta name="description" content="FINDEDGE highlights the i-th edge"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="generator" content="m2html © 2003 Guillaume Flandin"> <meta name="robots" content="index, follow"> <link type="text/css" rel="stylesheet" href="../../m2html.css"></head><body><a name="_top"></a><!-- # AFEM@matlab --><!-- menu.html 6_Tool --><h1>findedge</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>FINDEDGE highlights the i-th edge</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>function findedge(node,edge,i) </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="fragment"><pre class="comment"> FINDEDGE highlights the i-th edge USAGE findedge(node,edge,i) INPUT node: coordinate array of all nodes edge: edges i: index of the edge you want to highlight</pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../../matlabicon.gif)"></ul>This function is called by:<ul style="list-style-image:url(../../matlabicon.gif)"><li><a href="../../AFEM@matlab/1_Example/utildemo.html" class="code" title="function utildemo">utildemo</a> UTILDEMO shows how to load initial mesh from a saved .mat file and how to</li><li><a href="toolkit.html" class="code" title="function varargout = toolkit(varargin)">toolkit</a> TOOLKIT M-file for toolkit.fig</li></ul><!-- crossreference --><h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="fragment"><pre><a name="_sub0" href="#_subfunctions" class="code">function findedge(node,edge,i)</a><span class="comment">% FINDEDGE highlights the i-th edge</span><span class="comment">%</span><span class="comment">% USAGE</span><span class="comment">% findedge(node,edge,i)</span><span class="comment">%</span><span class="comment">% INPUT</span><span class="comment">% node: coordinate array of all nodes</span><span class="comment">% edge: edges</span><span class="comment">% i: index of the edge you want to highlight</span><span class="comment">%</span><span class="comment">% L. Chen & C. Zhang 10-11-2006</span>hold onmid=mean(node(edge(i,:),:)); <span class="comment">% Compute centroids</span>text(mid(1)-0.05,mid(2),int2str(i));plot([node(edge(i,1),1),node(edge(i,2),1)], <span class="keyword">...</span> [node(edge(i,1),2),node(edge(i,2),2)], <span class="keyword">...</span> <span class="string">'b-'</span>, <span class="string">'LineWidth'</span>,3.2);</pre></div><hr><address>Generated on Thu 02-Nov-2006 17:03:56 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2003</address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -