File:Normal subgroup illustration.png
来自testwiki
跳转到导航
跳转到搜索
本预览的尺寸:624 × 600像素。 其他分辨率:250 × 240像素 | 499 × 480像素 | 648 × 623像素。
原始文件 (648 × 623像素,文件大小:48 KB,MIME类型:image/png)
本文件来自维基共享资源并可能被其他项目使用。 其文件描述页上的描述显示在下面。
本檔案是由Maksim從en.wikipedia轉移到維基共享資源。
原始描述頁面位於這裡。下列使用者名稱均來自en.wikipedia。
File:Normal subgroup illustration.svg是此文件的矢量版本。 如果此文件质量不低于原点阵图,就应该将这个PNG格式文件替换为此文件。
File:Normal subgroup illustration.png → File:Normal subgroup illustration.svg
更多信息请参阅Help:SVG/zh。
|
摘要
Made by myself with Matlab
许可协议
| Public domainPublic domainfalsefalse |
| 我,本作品著作权人,释出本作品至公有领域。这适用于全世界。 在一些国家这可能不合法;如果是这样的话,那么: 我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。 |
Source code
function main ()
N=12; line_thickness=2.2; font_size=25; d=0.13; big_rad=10; ball_rad=0.5; ii=sqrt(-1);
red=[1, 0, 0]; green=[0, 1, 0]; blue=[0, 0, 1];
All=[red' green' blue'];
figure(1); clf; hold on; axis equal; axis off;
Theta=0:0.1:3*pi;
X=big_rad*cos(Theta);
Y=big_rad*sin(Theta);
plot(X, Y, 'linewidth', line_thickness, 'color', [0 0 0]);
for i=0:(N-1)
z=big_rad*exp(i*ii*2*pi/N);
place_text_smartly (z, font_size, i, d, sprintf('%d\\pi/%d', i, N/2), N);
color_ball(real(z), imag(z), ball_rad, All(:, mod(i, 3)+1)');
end
scale=1.4;plot(scale*big_rad, scale*big_rad)
scale=-1.4;plot(scale*big_rad, scale*big_rad)
saveas(gcf, 'Normal_subgroup_illustration.eps', 'psc2')
saveas(gcf, 'Normal_subgroup_illustration.png')
function place_text_smartly (z, font_size, pos, d, tx, N)
p=cos(2*pi/N)+sqrt(-1)*sin(2*pi/N);
z = z + p^pos * d * font_size;
shiftx=0.0003; shifty=0.03;
x = real (z); y=imag(z);
H=text(x+shiftx*font_size, y+shifty*font_size, tx);
set(H, 'fontsize', font_size, 'HorizontalAlignment', 'c', 'VerticalAlignment', 'c')
function color_ball(x, y, r, color)
Theta=0:0.1:2*pi;
X=r*cos(Theta)+x;
Y=r*sin(Theta)+y;
H=fill(X, Y, color);
set(H, 'EdgeColor', 'none');
| date/time | username | edit summary |
|---|---|---|
| 13:19, 27 October 2005 | en:User:Oleg Alexandrov | (<span class="autocomment"><a href="/wiki/Image:Normal_subgroup_illustration.png#Source_code" title="Image:Normal subgroup illustration.png">→</a>Source code</span>) |
| 13:10, 27 October 2005 | en:User:Oleg Alexandrov | (<span class="autocomment"><a href="/wiki/Image:Normal_subgroup_illustration.png#Licensing" title="Image:Normal subgroup illustration.png">→</a>Licensing -</span> source code) |
| 12:42, 27 October 2005 | en:User:Oleg Alexandrov | (Made by myself with <a href="/wiki/Matlab" title="Matlab">Matlab</a>) |
原始上传日志
Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
- (del) (cur) 13:18, 27 October 2005 . . en:User:Oleg_Alexandrov Oleg Alexandrov ( en:User_talk:Oleg_Alexandrov Talk) . . 648x623 (49214 bytes) (Made by myself with Matlab.)
说明
添加一行文字以描述该文件所表现的内容
此文件中描述的项目
描繪內容
著作权持有者释出至公有领域 简体中文(已转写)
49,214 字节
623 像素
648 像素
image/png
文件历史
点击某个日期/时间查看对应时刻的文件。
| 日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
|---|---|---|---|---|---|
| 当前 | 2006年3月20日 (一) 17:30 | 648 × 623(48 KB) | wikimediacommons>Maksim | La bildo estas kopiita de wikipedia:en. La originala priskribo estas: == Summary == Made by myself with Matlab == Licensing == {{PD-self}} == Source code== <pre><nowiki> function main () N=12; line_thickness=2.2; font_size=25; d=0.13; big_rad=10; |
文件用途
以下页面使用本文件: