File:Tubular neighborhood3.png

原始文件(928 × 1,289像素,文件大小:24 KB,MIME类型:image/png


描述 Illustration of en:Tubular neighborhood
来源 Made with en:Matlab
作者 Oleg Alexandrov 03:01, 1 June 2007 (UTC)
授权
(二次使用本文件)
Public domain
Public domain 我,本作品著作权人,释出本作品至公有领域。这适用于全世界。
在一些国家这可能不合法;如果是这样的话,那么:
我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。


Source code (MATLAB)

% illustration of tubular neighborhood
function main()

   a=0; b=2*pi; N = 100;
   X=linspace(a, b, N);
   Y=sin(X);
   ll = 4; % length of lines perpendicular to the curve
   
   thin_line = 2;
   thick_line = 4;
   
%  will draw lines perpendicular to the graph of Y=f(X) at
%  points separted by length of 'spacing'
   spacing = 0.04;
   M = floor(spacing*N); 

% colors
   red=[0.867 0.06 0.14];
   blue = [0, 129, 205]/256;
   green = [0, 200,  70]/256;
   gray=0.8*[1, 1, 1];
   
   figure(1); clf; hold on; axis equal; axis off;
   view(23, 36);

   % plot the lines
   for k=1:N
      
      p = (k-1)*M+2;
      if p >= N
		 break;
      end
      
      plot3([X(p), X(p)], [Y(p), Y(p)], [-ll, ll], 'color', red, 'linewidth', thin_line)
	  
   end

   % plot the curve
   plot3(X, Y, 0*X, 'linewidth', thick_line, 'color', blue);

   saveas(gcf, 'Tubular_neighborhood3.eps', 'psc2')
此math图片可使用矢量图形重新创建为SVG文件。这具有很多好处;更多信息请参见共享资源:待清理媒体。如果存在此图片的SVG格式,请将其上传,然后将此模板替换为{{vector version available|新图片名称}}


建议您将SVG命名为“Tubular neighborhood3.svg”,这样在使用Vector version available(或Vva)模板时就不需要填写新图片名称参数。

说明

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

此文件中描述的项目

描繪內容

文件历史

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

日期/时间缩⁠略⁠图大小用户备注
当前2007年6月2日 (六) 04:482007年6月2日 (六) 04:48版本的缩略图928 × 1,289(24 KB)Oleg Alexandrov{{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= Oleg Alexandrov 03:01, 1 June 2007 (UTC) |Permission=Public domain |other_versions= }} {{PD-self}} ==Matlab

以下页面使用本文件:

全域文件用途

以下其他wiki使用此文件: