Aller au contenu

Fichier:Tubular neighborhood.png

Le contenu de la page n’est pas pris en charge dans d’autres langues.
Une page de Wikipédia, l'encyclopédie libre.

Fichier d’origine(2 506 × 1 967 pixels, taille du fichier : 374 kio, type MIME : image/png)

Ce fichier et sa description proviennent de Wikimedia Commons.

Description Illustration of en:Tubular neighborhood
Source Made with en:Matlab
Auteur Oleg Alexandrov 03:01, 1 June 2007 (UTC)
Autorisation
(Réutilisation de ce fichier)
Public domain
 
Ce diagramme a été créé avec MATLAB.
Public domain Moi, propriétaire des droits d’auteur sur cette œuvre, la place dans le domaine public. Ceci s'applique dans le monde entier.
Dans certains pays, ceci peut ne pas être possible ; dans ce cas :
J’accorde à toute personne le droit d’utiliser cette œuvre dans n’importe quel but, sans aucune condition, sauf celles requises par la loi.


Source code (MATLAB)

 

% illustration of tubular neighborhood
function main()

   f=inline('sin(x)', 'x'); % will construct a tubular neighborhood of this curve

   a=0; b=2*pi; N = 100; X = linspace(a, b, N); % consider N points in the interval [a, b]
   Y = f(X); % the curve
   ll = 3; % length of lines perpendicular to the curve
   lls = 0.3; % smaller subsegments
   
   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.033;
   M = floor(spacing*N); 

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


   % plot the lines
   for k=1:N

	  p = (k-1)*M+2;
	  if p >= N
		 break;
	  end

	  % the normal to the curve at (X(p), Y(p))
	  Normal = [-(Y(p+1)-Y(p-1)), X(p+1)-X(p-1)]; Normal = Normal/norm(Normal);  
	  
	  plot([X(p)-ll*Normal(1), X(p)+ll*Normal(1)], [Y(p)-ll*Normal(2),...
					Y(p)+ll*Normal(2)], 'color', green, 'linewidth', thin_line)

	  plot([X(p)-lls*Normal(1), X(p)+lls*Normal(1)], [Y(p)-lls*Normal(2),...
					Y(p)+lls*Normal(2)], 'color', red, 'linewidth', 0.7*thick_line)

   end

   % plot the curve
   plot(X, Y, 'linewidth', thick_line);
   
   saveas(gcf, 'Tubular_neighborhood.eps', 'psc2')
Cette image (de type math) devrait être recréée dans un format vectoriel, en tant que fichier SVG. Cela offrirait plusieurs avantages : voir Commons:Media for cleanup pour plus d'informations. Si une version SVG de cette image est déjà disponible, merci de bien vouloir l'envoyer. Après cela, remplacez ce modèle par {{vector version available|nouveau nom d'image.svg}}.

Légendes

Ajoutez en une ligne la description de ce que représente ce fichier

Éléments décrits dans ce fichier

dépeint

Historique du fichier

Cliquer sur une date et heure pour voir le fichier tel qu'il était à ce moment-là.

Date et heureVignetteDimensionsUtilisateurCommentaire
actuel2 juin 2007 à 07:01Vignette pour la version du 2 juin 2007 à 07:012 506 × 1 967 (374 kio)Oleg Alexandrovtweak
1 juin 2007 à 05:46Vignette pour la version du 1 juin 2007 à 05:462 506 × 1 967 (367 kio)Oleg AlexandrovTweak.
1 juin 2007 à 05:10Vignette pour la version du 1 juin 2007 à 05:10626 × 492 (64 kio)Oleg Alexandrov{{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}}
1 juin 2007 à 05:09Vignette pour la version du 1 juin 2007 à 05:09626 × 492 (64 kio)Oleg Alexandrov{{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}}
1 juin 2007 à 05:08Vignette pour la version du 1 juin 2007 à 05:08626 × 492 (82 kio)Oleg Alexandrov{{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}}
1 juin 2007 à 05:01Vignette pour la version du 1 juin 2007 à 05:01626 × 492 (82 kio)Oleg Alexandrov{{Information |Description=Illustration of en:Tubular neighborhood |Source=Made with en:Matlab |Date= |Author= ~~~~ |Permission=Public domain |other_versions= }} {{PD-self}}

La page suivante utilise ce fichier :

Usage global du fichier

Les autres wikis suivants utilisent ce fichier :