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')
本圖片是以PNG、GIF或JPEG格式上傳。然而,其中包含的資料或訊息,應該重新建立成可縮放向量圖形SVG)檔案,以更有效率或更準確的方式儲存。如有可能,請上傳本圖片的SVG格式版本。在上傳之後,請修改維基各姊妹計畫中所有使用舊版圖片的條目(列在圖像連結章節中),替換為新版圖片,並在舊圖片的描述頁中加入{{Vector version available|新圖片名稱.svg}}模板,同時移除本模板。

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

檔案歷史

點選日期/時間以檢視該時間的檔案版本。

日期/時間縮⁠圖尺寸使用者備⁠註
目前2007年6月2日 (六) 04:48於 2007年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 使用了這個檔案: