File:Torus illustration.png
出自Wikimedia Commons
跳至導覽
跳至搜尋
預覽大小:800 × 528 像素。 其他解析度:320 × 211 像素 | 640 × 422 像素 | 900 × 594 像素。
原始檔案 (900 × 594 像素,檔案大小:147 KB,MIME 類型:image/png)
檔案資訊
結構化資料
說明
描述Torus illustration.png | Illustration of torus |
日期 | (UTC) |
來源 | self-made, with MATLAB |
作者 | Oleg Alexandrov |
其他版本 | 此檔案衍生的作品: Infobox torus.png |
Public domainPublic domainfalsefalse |
我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。 這可能在某些國家不合法,如果是的話: 我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。 |
Source code
[編輯]% illustration of a torus, obtained as an isosurface
function main()
% big and small radii of the torus
R = 3; r = 1;
Kb = R+r;
h = 0.1; % h is the grid size. Smaller h means prettier picture.
X = (-Kb-h):h:(Kb+h); m = length(X);
Y = (-Kb-h):h:(Kb+h); n = length(Y);
Z = (-r-h):h:(r+h); k = length(Z);
W = zeros(m, n, k); % the zero level set of this function will be the desired shape
for i=1:m
for j=1:n
x = X(i);
y = Y(j);
W(i, j, :) = (sqrt(x^2+y^2)-R)^2 + Z.^2-r^2; % torus eqn, vectorize in Z
end
end
figure(4); clf; hold on; axis equal; axis off;
H = patch(isosurface(W, 0));
isonormals(W, H);
light_green=[184, 224, 98]/256;
% set some propeties
set(H, 'FaceColor', light_green, 'EdgeColor','none', 'FaceAlpha', 1);
set(H, 'SpecularColorReflectance', 0.1, 'DiffuseStrength', 0.8);
set(H, 'FaceLighting', 'phong', 'AmbientStrength', 0.3);
set(H, 'SpecularExponent', 108);
daspect([1 1 1]);
axis tight;
colormap(prism(28))
% viewing angle
view(-146, 32);
% add in a source of light
camlight (-10, 54); lighting phong;
%save as png
print('-dpng', '-r400', sprintf('Torus_illustration.png'));
檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 使用者 | 備註 | |
---|---|---|---|---|---|
目前 | 2008年7月13日 (日) 01:12 | 900 × 594(147 KB) | Oleg Alexandrov(留言 | 貢獻) | {{Information |Description=Illustration of torus |Source=self-made, with MATLAB |Date=~~~~~ |Author= Oleg Alexandrov }} {{PD-self}} ==Source code== <source lang="matlab"> % illustration of a torus, o |
無法覆蓋此檔案。
檔案用途
下列頁面有用到此檔案:
全域檔案使用狀況
以下其他 wiki 使用了這個檔案:
- ar.wikipedia.org 的使用狀況
- ca.wikipedia.org 的使用狀況
- cs.wikipedia.org 的使用狀況
- cv.wikipedia.org 的使用狀況
- de.wikipedia.org 的使用狀況
- de.wikiversity.org 的使用狀況
- Kurs:Algebraische Kurven (Osnabrück 2008)/Vorlesung 28
- Kurs:Topologie (Osnabrück 2008-2009)/Vorlesung 19
- Topologie/Theorie der Fundamentalgruppe/Seifert-van Kampen/Orientierbare Flächen/Beispiel
- Kurs:Algebraische Kurven (Osnabrück 2012)/Vorlesung 28
- Kurs:Algebraische Kurven (Osnabrück 2017-2018)/Vorlesung 28
- Kurs:Algebraische Kurven (Osnabrück 2017-2018)/Vorlesung 28/kontrolle
- Glatte projektive Kurve/Geschlecht/Textabschnitt
- Kurs:Bündel, Garben und Kohomologie (Osnabrück 2019-2020)/Vorlesung 29
- Kurs:Bündel, Garben und Kohomologie (Osnabrück 2019-2020)/Vorlesung 29/kontrolle
- Kurs:Elliptische Kurven (Osnabrück 2021-2022)/Vorlesung 17
- Kurs:Elliptische Kurven (Osnabrück 2021-2022)/Vorlesung 17/kontrolle
- Riemannsche Fläche/Kompakt/Topologisches Geschlecht/Triangulierung/Übersicht/Textabschnitt
- Kurs:Riemannsche Flächen (Osnabrück 2022)/Vorlesung 32
- Kurs:Riemannsche Flächen (Osnabrück 2022)/Vorlesung 32/kontrolle
- el.wikipedia.org 的使用狀況
- en.wikipedia.org 的使用狀況
- eo.wikipedia.org 的使用狀況
- es.wikipedia.org 的使用狀況
- eu.wikipedia.org 的使用狀況
- fa.wikipedia.org 的使用狀況
- fi.wikipedia.org 的使用狀況
- fr.wikipedia.org 的使用狀況
- he.wikipedia.org 的使用狀況
檢視此檔案的更多全域使用狀況。