Fichier:Biholomorphism illustration.svg

De testwiki
Aller à la navigation Aller à la recherche
    Fichier d’origine (Fichier SVG, nominalement de 4 709 × 8 557 pixels, taille : 43 kio)

    Ce fichier provient de Wikimedia Commons et peut être utilisé par d'autres projets. Sa description sur sa page de description est affichée ci-dessous.

    Description

    Description
    English: Illustration of a biholomorphism. The complex exponential function mapping biholomorphically a rectangle to a quarter-annulus.
    Date
    Source Travail personnel
    Auteur ou autrice Oleg Alexandrov
    SVG information
    InfoField
     Le code de ce fichier SVG est valide.
     Ce diagramme a été créé avec MATLAB
      Ce fichier SVG utilise du texte encapsulé qui peut être traduit facilement à l'aide d'un éditeur de texte.

    Conditions d’utilisation

    Public domain Cette œuvre a été placée dans le domaine public par son auteur, Oleg Alexandrov. Ceci s’applique dans le monde entier.
    Dans certains pays, ceci peut ne pas être possible ; dans ce cas :
    Oleg Alexandrov 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

    Self-made with MATLAB, tweaked in Inkscape.

    % Illustration of a biholomorphim, in this case w=exp(z)
    
    function main()
    
       N = 11; % num of grid points
       epsilon = 0.1; % displacement for each small diffeomorphism
       num_comp = 10; % number of times the diffeomorphism is composed with itself
     
       Sx = linspace(-1, 1, N);
       Sy = linspace(0, pi/2, N);
    
       [X, Y] = meshgrid(Sx, Sy);
    
       % graphing settings
       lw = 3.5;
    
       % KSmrq's colors
       blue   = [0, 129, 205]/256;
       green  = [0, 200,  70]/256;
       yellow = [254, 194,   0]/256;
       white = 0.99*[1, 1, 1];
    
       mycolor = blue;
       
       % start plotting
       figno=1; figure(figno); clf;
    
       mode = 1;
       do_plot(X, Y, lw, figno, mycolor, mode)
       saveas(gcf, 'Biholom1.eps', 'psc2');
       plot2svg('Biholom1.svg');
       
       I=sqrt(-1);
       Z = X+I*Y;
    
       F=exp(Z);
       
       XF = real(F); YF=imag(F);
    
       figno = 2;
       mode = 2;
       do_plot(XF, YF, lw, figno, mycolor, mode)
    
       saveas(gcf, 'Biholom2.eps', 'psc2');
       plot2svg('Biholom2.svg');
       
       
    function do_plot(X, Y, lw, figno, mycolor, mode)
       figure(figno); clf; hold on;
       axis equal; axis off;
    
       minX = min(min(X)); maxX = max(max(X));
       minY = min(min(Y)); maxY = max(max(Y));
       
       small = 0.2;
       if mode == 1
    
       else
          small = 0.5*exp(1)*small;
       end
       A=minX-small/2; B=maxX+small;
       C=minY-small/2; D=maxY+small;
    %   plot([A B], [0, 0], 'linewidth', lw, 'color', black);
    %   plot([0, 0], [C, D], 'linewidth', lw, 'color', black);
    
       [M, N] = size(X);
    
       for i=1:N
          plot(X(:, i), Y(:, i), 'linewidth', lw, 'color', mycolor);
          plot(X(i, :), Y(i, :), 'linewidth', lw, 'color', mycolor);
       end
       
       red    = [0.867 0.06 0.14];
       gray = 0.2*[1, 1, 1];
    
       arrow_size = 0.07*max(maxX, maxY);
       sharpness = 20;
       arrow_type = 1; 
       tiny = 0.01;
       scale_lw = 0.8;
       
       arrow([A, 0], [B, 0], scale_lw*lw, arrow_size, sharpness, arrow_type, gray);
       arrow([0, C], [0, D], scale_lw*lw, arrow_size, sharpness, arrow_type, gray);
    
    
       fs = 10*max(maxX, maxY);
       myrad = 0.009*max(maxX, maxY);
          
    
       % in the two pictures, the text to be displayed is different
       if mode == 1
    
          smallx = -0.03*max(B, D);
          smally = -0.12*max(B, D);
    
          text (minX+smallx, smally, sprintf('%d', minX), 'fontsize', fs, 'color', gray);
          text (maxX+smallx, smally, sprintf('%d', maxX), 'fontsize', fs, 'color', gray);
    
    %      ball(minX, 0, myrad, mycolor);
    %      ball(maxX, 0, myrad, mycolor);
    %      ball(0, maxY, myrad, mycolor);
    
       else
          smallx = -0.01*max(B, D);
          smally = -0.12*max(B, D);
          
          text (minX+smallx, smally, 'e^{-1}', 'fontsize', fs, 'color', gray);
          text (maxX+smallx, smally, 'e', 'fontsize', fs, 'color', gray);
    
    %      ball(exp(-1), 0, myrad, mycolor); ball(exp(1), 0, myrad, mycolor);
    %      ball(0, exp(-1), myrad, mycolor); ball(0, exp(1), myrad, mycolor);
    
       end
       
    function ball(x, y, radius, color) % draw a ball of given uniform color 
       Theta=0:0.1:2*pi;
       X=radius*cos(Theta)+x;
       Y=radius*sin(Theta)+y;
       H=fill(X, Y, color);
       set(H, 'EdgeColor', color);
    
    
    function arrow(start, stop, thickness, arrow_size, sharpness, arrow_type, color)
     
    % Function arguments:
    % start, stop:  start and end coordinates of arrow, vectors of size 2
    % thickness:    thickness of arrow stick
    % arrow_size:   the size of the two sides of the angle in this picture ->
    % sharpness:    angle between the arrow stick and arrow side, in degrees
    % arrow_type:   1 for filled arrow, otherwise the arrow will be just two segments
    % color:        arrow color, a vector of length three with values in [0, 1]
     
    % convert to complex numbers
       i=sqrt(-1);
       start=start(1)+i*start(2); stop=stop(1)+i*stop(2);
       rotate_angle=exp(i*pi*sharpness/180);
     
    % points making up the arrow tip (besides the "stop" point)
       point1 = stop - (arrow_size*rotate_angle)*(stop-start)/abs(stop-start);
       point2 = stop - (arrow_size/rotate_angle)*(stop-start)/abs(stop-start);
     
       if arrow_type==1 % filled arrow
     
          % plot the stick, but not till the end, looks bad
          t=0.5*arrow_size*cos(pi*sharpness/180)/abs(stop-start); stop1=t*start+(1-t)*stop;
          plot(real([start, stop1]), imag([start, stop1]), 'LineWidth', thickness, 'Color', color);
     
          % fill the arrow
          H=fill(real([stop, point1, point2]), imag([stop, point1, point2]), color);
          set(H, 'EdgeColor', 'none')
     
       else % two-segment arrow
          plot(real([start, stop]), imag([start, stop]),   'LineWidth', thickness, 'Color', color); 
          plot(real([stop, point1]), imag([stop, point1]), 'LineWidth', thickness, 'Color', color);
          plot(real([stop, point2]), imag([stop, point2]), 'LineWidth', thickness, 'Color', color);
       end
    

    Légendes

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

    Éléments décrits dans ce fichier

    dépeint

    image/svg+xml

    effbb6ef1399fa8a40debecce24f7f543b1d8904

    43 820 octet

    8 557 pixel

    4 709 pixel

    Historique du fichier

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

    Date et heureVignetteDimensionsUtilisateurCommentaire
    actuel31 janvier 2008 à 08:02Vignette pour la version du 31 janvier 2008 à 08:024 709 × 8 557 (43 kio)wikimediacommons>Oleg AlexandrovStill tweaking text position

    Aucune page n’utilise ce fichier.