File:Surface integral illustration.svg

原始文件(SVG文件,尺寸为512 × 348像素,文件大小:20 KB)


摘要

描述
English: The definition of surface integral relies on splitting the surface into small surface elements. Figure 1: The definition of surface integral relies on splitting the surface into small surface elements. Each element is associated with a vector dS of magnitude equal to the area of the element and with direction normal to the element and pointing outward.
日期 2014年12月11日
来源 基于如下对象的个人作品: Surface integral illustration.png & SVG - Export of figures
作者 McMetrox
授权
(二次使用本文件)
我,本作品著作权人,特此采用以下许可协议发表本作品:
Creative Commons CC-Zero 本作品采用知识共享CC0 1.0 通用公有领域贡献许可协议授权。
采用本宣告发表本作品的人,已在法律允许的范围内,通过在全世界放弃其对本作品拥有的著作权法规定的所有权利(包括所有相关权利),将本作品贡献至公有领域。您可以复制、修改、传播和表演本作品,将其用于商业目的,无需要求授权。

其他版本
png
SVG开发
InfoField
 
SVG的源代码为有效代码
 
矢量图使用MATLAB创作。
源代码
InfoField

MATLAB code

% An illustration of the surface integral.
% It shows how a surface is split into surface elements.
 
function main()
 
% the function giving the surface and its gradient
   f=inline('10-(x.^2+y.^2)/15', 'x', 'y');
 
   BoxSize=5; % surface dimensions are 2*BoxSize x 2*BoxSize
   M = 10; % M x M = the number of surface elements into which to split the surface
   N=10;  % N x N = number of points in each surface element
   spacing = 0.1; % spacing between surface elements
   H=2*BoxSize/(M-1); % size of each surface element
   gridsize=H/N;      % distance between points on a surface element 
 
   figure(1); clf; hold on; axis equal; axis off;
 
   for i=1:(M-1)
	  for j=1:(M-1)
		 Lx = -BoxSize + (i-1)*H+spacing; Ux = -BoxSize + (i  )*H-spacing;
		 Ly = -BoxSize + (j-1)*H+spacing; Uy = -BoxSize + (j  )*H-spacing;
 
%        calc the surface element
		 XX=Lx:gridsize:Ux; 
		 YY=Ly:gridsize:Uy;
		 [X, Y]=meshgrid(XX, YY);
		 Z=f(X, Y);
 
%        plot the surface element
		 surf(X, Y, Z, 'FaceColor','red', 'EdgeColor','none', ...
			  'AmbientStrength', 0.3, 'SpecularStrength', 1, 'DiffuseStrength', 0.8);
 
	  end
   end
 
 
   view (-18, 40);                     % viewing angle 
   %camlight headlight; lighting phong; % make nice lightning 
 
%  save to file
   plot2svg('Surface_integral_illustration.svg');

说明

添加一行文字以描述该文件所表现的内容
surface integral

此文件中描述的项目

描繪內容

文件历史

点击某个日期/时间查看对应时刻的文件。

日期/时间缩⁠略⁠图大小用户备注
当前2014年12月12日 (五) 00:362014年12月12日 (五) 00:36版本的缩略图512 × 348(20 KB)McMetroxReduced file size
2014年12月11日 (四) 23:502014年12月11日 (四) 23:50版本的缩略图512 × 348(39 KB)McMetrox{{Information |Description ={{en|1=The definition of surface integral relies on splitting the surface into small surface elements. Figure 1: The definition of surface integral relies on splitting the surface into small surface elements. Each element...

全域文件用途

以下其他wiki使用此文件:

元数据