File:Conformal map.svg
来自testwiki
跳转到导航
跳转到搜索
此SVG文件的PNG预览的大小:343 × 599像素。 其他分辨率:137 × 240像素 | 275 × 480像素 | 440 × 768像素 | 587 × 1,024像素 | 1,173 × 2,048像素 | 2,287 × 3,991像素。
原始文件 (SVG文件,尺寸为2,287 × 3,991像素,文件大小:2 KB)
本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。
摘要
| 描述Conformal map.svg |
English: Illustration of a conformal map. |
| 日期 | |
| 来源 | 自己的作品 |
| 作者 | Oleg Alexandrov |
| SVG开发 InfoField |
许可协议
| Public domainPublic domainfalsefalse |
| 本作品已被作者Oleg Alexandrov释出到公有领域。这适用于全世界。 在一些国家这可能不合法;如果是这样的话,那么: Oleg Alexandrov无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。 |
Source code
% 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;
说明
添加一行文字以描述该文件所表现的内容
此文件中描述的项目
描繪內容
某些值没有维基数据项目
著作权持有者释出至公有领域 简体中文(已转写)
23 1 2008
image/svg+xml
35,295 字节
937 像素
535 像素
文件历史
点击某个日期/时间查看对应时刻的文件。
| 日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
|---|---|---|---|---|---|
| 当前 | 2025年1月19日 (日) 04:48 | 2,287 × 3,991(2 KB) | wikimediacommons>Д.Ильин | Optimization |