File:Torus illustration.png
Từ Wikimedia Commons, kho lưu trữ phương tiện nội dung mở
Bước tới điều hướng
Bước tới tìm kiếm
![File:Torus illustration.png](https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Torus_illustration.png/800px-Torus_illustration.png?20080713011206)
Kích thước hình xem trước: 800×528 điểm ảnh. Độ phân giải khác: 320×211 điểm ảnh | 640×422 điểm ảnh | 900×594 điểm ảnh.
Tập tin gốc (900×594 điểm ảnh, kích thước tập tin: 147 kB, kiểu MIME: image/png)
Thông tin tập tin
Dữ liệu có cấu trúc
Chú thích
Chú thích
Ghi một dòng giải thích những gì có trong tập tin này
![](https://upload.wikimedia.org/wikipedia/commons/thumb/2/21/Matlab_Logo.png/25px-Matlab_Logo.png)
This diagram was created with MATLAB.
Miêu tảTorus illustration.png | Illustration of torus |
Ngày | (UTC) |
Nguồn gốc | self-made, with MATLAB |
Tác giả | Oleg Alexandrov |
Phiên bản khác | Derivative works of this file: Infobox torus.png |
Public domainPublic domainfalsefalse |
![]() |
Tôi, người giữ bản quyền của tác phẩm này, chuyển tác phẩm này vào phạm vi công cộng. Điều này có giá trị trên toàn thế giới. Tại một quốc gia mà luật pháp không cho phép điều này, thì: Tôi cho phép tất cả mọi người được quyền sử dụng tác phẩm này với bất cứ mục đích nào, không kèm theo bất kỳ điều kiện nào, trừ phi luật pháp yêu cầu những điều kiện đó. |
Source code
[sửa]% 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'));
Lịch sử tập tin
Nhấn vào ngày/giờ để xem nội dung tập tin tại thời điểm đó.
Ngày/Giờ | Hình xem trước | Kích cỡ | Thành viên | Miêu tả | |
---|---|---|---|---|---|
hiện tại | 01:12, ngày 13 tháng 7 năm 2008 | ![]() | 900×594 (147 kB) | Oleg Alexandrov (thảo luận | đóng góp) | {{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 |
Bạn không được phép ghi đè tập tin này.
Trang sử dụng tập tin
Trang sau sử dụng tập tin này:
Sử dụng tập tin toàn cục
Những wiki sau đang sử dụng tập tin này:
- Trang sử dụng tại ar.wikipedia.org
- Trang sử dụng tại ca.wikipedia.org
- Trang sử dụng tại cs.wikipedia.org
- Trang sử dụng tại cv.wikipedia.org
- Trang sử dụng tại de.wikipedia.org
- Trang sử dụng tại 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
- Trang sử dụng tại el.wikipedia.org
- Trang sử dụng tại en.wikipedia.org
- Trang sử dụng tại eo.wikipedia.org
- Trang sử dụng tại es.wikipedia.org
- Trang sử dụng tại eu.wikipedia.org
- Trang sử dụng tại fa.wikipedia.org
- Trang sử dụng tại fi.wikipedia.org
- Trang sử dụng tại fr.wikipedia.org
- Trang sử dụng tại he.wikipedia.org
Xem thêm các trang toàn cục sử dụng tập tin này.