📄 findnode.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 findnode</title> <meta name="keywords" content="findnode"> <meta name="description" content="FINDNODE highlights the i-th node"> <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>findnode</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>FINDNODE highlights the i-th node</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 findnode(node,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"> FINDNODE highlights the i-th node USAGE findnode(node,i) INPUT node: coordinate array of all nodes i: index of the node 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 findnode(node,i)</a><span class="comment">% FINDNODE highlights the i-th node</span><span class="comment">%</span><span class="comment">% USAGE</span><span class="comment">% findnode(node,i)</span><span class="comment">%</span><span class="comment">% INPUT</span><span class="comment">% node: coordinate array of all nodes</span><span class="comment">% i: index of the node you want to highlight</span><span class="comment">%</span><span class="comment">% L. Chen & C. Zhang 10-11-2006</span>hold onN=size(node,1);<span class="keyword">if</span> (i<1) || (i>N), fprintf(<span class="string">'is not a valide node index'</span>); <span class="keyword">end</span>text(node(i,1)+0.01,node(i,2)+0.01, int2str(i));plot(node(i,1),node(i,2), <span class="string">'r.'</span>, <span class="string">'MarkerSize'</span>, 18);</pre></div><hr><address>Generated on Fri 17-Nov-2006 11:02:53 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 + -