Vés al contingut

Fitxer:Normal subgroup illustration.png

De Viki.cat

Fitxer original (648 × 623 píxels, mida del fitxer: 48 Ko, tipus MIME: image/png)

Transferred from en.wikipedia to Commons by Maksim.

La pàgina de descripció original era aquí. Els noms d'usuari a continuació es refereixen a en.wikipedia.
File:Normal subgroup illustration.svg és una versió vectorial (SVG) d'aquest fitxer. En cas de ser millor, hauria de ser emprada en lloc d'aquesta imatge tramada.

File:Normal subgroup illustration.png → File:Normal subgroup illustration.svg

Per a més informació pel que fa als gràfics vectorials, llegiu la transició a SVG en Commons.
També hi ha informació quant a la compatibilitat del MediaWiki amb les imatges SVG.

En altres idiomes
Alemannisch ∙ العربية ∙ беларуская (тарашкевіца) ∙ български ∙ বাংলা ∙ català ∙ нохчийн ∙ čeština ∙ dansk ∙ Deutsch ∙ Ελληνικά ∙ English ∙ British English ∙ Esperanto ∙ español ∙ eesti ∙ euskara ∙ فارسی ∙ suomi ∙ français ∙ Frysk ∙ galego ∙ Alemannisch ∙ עברית ∙ हिन्दी ∙ hrvatski ∙ magyar ∙ հայերեն ∙ Bahasa Indonesia ∙ Ido ∙ italiano ∙ 日本語 ∙ ქართული ∙ 한국어 ∙ lietuvių ∙ македонски ∙ മലയാളം ∙ Bahasa Melayu ∙ မြန်မာဘာသာ ∙ norsk bokmål ∙ Plattdüütsch ∙ Nederlands ∙ norsk nynorsk ∙ norsk ∙ occitan ∙ polski ∙ prūsiskan ∙ português ∙ português do Brasil ∙ română ∙ русский ∙ sicilianu ∙ Scots ∙ slovenčina ∙ slovenščina ∙ српски / srpski ∙ svenska ∙ தமிழ் ∙ ไทย ∙ Türkçe ∙ татарча / tatarça ∙ українська ∙ vèneto ∙ Tiếng Việt ∙ 中文 ∙ 中文(中国大陆) ∙ 中文(简体) ∙ 中文(繁體) ∙ 中文(马来西亚) ∙ 中文(新加坡) ∙ 中文(臺灣) ∙ +/−
Nova imatge SVG

Resum

Made by myself with Matlab

Llicència

Public domain Jo, el titular del copyright d'aquesta obra, l'allibero al domini públic. Això s'aplica a tot el món.
En alguns països això pot no ser legalment possible, en tal cas:
Jo faig concessió a tothom del dret d'usar aquesta obra per a qualsevol propòsit, sense cap condició llevat d'aquelles requerides per la llei.

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>)

Registre original de càrregues

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.

Llegendes

Afegeix una explicació d&#039;una línia del que representa aquest fitxer

Elements representats en aquest fitxer

representa l'entitat

623 píxel

648 píxel

Historial del fitxer

Cliqueu una data/hora per veure el fitxer tal com era aleshores.

Data/horaMiniaturaDimensionsUsuari/aComentari
actual18:30, 20 març 2006Miniatura per a la versió del 18:30, 20 març 2006648 × 623 (48 Ko)wikimediacommons>MaksimLa 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;

La pàgina següent utilitza aquest fitxer: