📄 plotelem.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 plotelem</title> <meta name="keywords" content="plotelem"> <meta name="description" content="PLOTELEM shows the index of each element 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>plotelem</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>PLOTELEM shows the index of each element 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 plotelem(node,elem) </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"> PLOTELEM shows the index of each element on the current mesh plot USAGE plotelem(node,elem) INPUT node: coordinate array of all nodes elem: elements</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 plotelem(node,elem)</a><span class="comment">% PLOTELEM shows the index of each element on the current mesh plot</span><span class="comment">%</span><span class="comment">% USAGE</span><span class="comment">% plotelem(node,elem)</span><span class="comment">%</span><span class="comment">% INPUT</span><span class="comment">% node: coordinate array of all nodes</span><span class="comment">% elem: elements</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(elem,1) mid=mean(node(elem(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 + -