原本檔案(SVG檔案,表面大細: 535 × 937 像素,檔案大細:34 KB)

摘要

描述 Illustration of a conformal map.
日期
來源 self-made with MATLAB, tweaked in Inkscape.
作者 Oleg Alexandrov
SVG genesis
InfoField
 
The SVG code is valid.
 
This vector image was created with Inkscape.
 
This file uses translateable embedded text.

協議

Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
In some countries this may not be legally possible; if so:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Source code (MATLAB)

% Compute the image of a rectangular grid under a a conformal map.

function main()

   N = 15; % num of grid points
   epsilon = 0.1; % displacement for each small diffeomorphism
   num_comp = 10; % number of times the diffeomorphism is composed with itself
 
   S = linspace(-1, 1, N);

   [X, Y] = meshgrid(S);

   
   % graphing settings
   lw = 1.0;

   % KSmrq's colors
   red    = [0.867 0.06 0.14];
   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;

   shiftx = 0; shifty = 0; scale = 1;
   do_plot(X, Y, lw, figno, mycolor, shiftx, shifty, scale)

   I=sqrt(-1);
   Z = X+I*Y;

   % tweak these numbers for a pretty map
   z0 = 1+ 2*I;
   z1 = 0.1+ 0.2*I;
   z2 = 0.2+ 0.3*I;
   a = 0.01;
   b = 0.02;
   shiftx = 0.1; shifty = 1.2; scale = 1.4;
   F = (Z+z0).^2 +a*(Z+z1).^3 +b*(Z+z2).^4;
   F = (1+2*I)*F;
   
   XF = real(F); YF=imag(F);

   do_plot(XF, YF, lw, figno, mycolor, shiftx, shifty, scale)

   axis ([-1 1.3 -2 2]); axis off;

   saveas(gcf, 'Conformal_map.eps', 'psc2');
   
   
function do_plot(X, Y, lw, figno, mycolor, shiftx, shifty, scale)
   figure(figno); hold on;

   [M, N] = size(X);

   X = X - min(min(X));
   Y = Y - min(min(Y));

   a = max(max(max(abs(X))), max(max(abs(Y))));
   X = X/a; Y = Y/a;

   X = scale*(X-shiftx);
   Y = scale*(Y-shifty);
   
   for i=1:N
      plot(X(:, i), Y(:, i), 'linewidth', lw, 'color', mycolor);
      plot(X(i, :), Y(i, :), 'linewidth', lw, 'color', mycolor);
   end
%   axis([-1-small, 1+small, -1-small, 1+small]);
   axis equal; axis off;

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

圖中顯示嘅係

23 1 2008

image/svg+xml

b587fd0fec3d2789558f1505fa0102f6313872d0

35,295 字節

937 像素

535 像素

檔案歷史

撳個日期/時間去睇響嗰個時間出現過嘅檔案。

日期/時間縮圖尺寸用戶註解
現時2008年1月27號 (日) 21:51響2008年1月27號 (日) 21:51嘅縮圖版本535 × 937(34 KB)Oleg AlexandrovMake arrow and text smaller
2008年1月23號 (三) 03:36響2008年1月23號 (三) 03:36嘅縮圖版本535 × 937(34 KB)Oleg Alexandrov{{Information |Description=Illustration of a conformal map. |Source=self-made with MATLAB, tweaked in Inkscape. |~~~~~ |Author= Oleg Alexandrov |Permission= |other_versions= }} {{PD-self}} ==Source code ([[

以下嘅2版用到呢個檔:

全域檔案使用情況

下面嘅維基都用緊呢個檔案:

睇呢個檔案嘅更多全域使用情況