📄 plotedge.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 plotedge</title> <meta name="keywords" content="plotedge"> <meta name="description" content="PLOTEDGE shows the index of each edge on the current mesh plot"> <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>plotedge</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>PLOTEDGE shows the index of each edge on the current mesh plot</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 plotedge(node,edge) </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"> PLOTEDGE shows the index of each edge on the current mesh plot USAGE plotedge(node,edge) INPUT node: coordinate array of all nodes edge: edges</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="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 plotedge(node,edge)</a><span class="comment">% PLOTEDGE shows the index of each edge on the current mesh plot</span><span class="comment">%</span><span class="comment">% USAGE</span><span class="comment">% plotedge(node,edge)</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">%</span><span class="comment">% L. Chen & C. Zhang 10-11-2006</span>hold on<span class="keyword">for</span> i=1:size(edge,1) mid=mean(node(edge(i,:),:)); <span class="comment">% Compute centroids</span> text(mid(1),mid(2),int2str(i));<span class="keyword">end</span></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 + -