File:Surface of revolution illustration.png
出自Wikimedia Commons
跳至導覽
跳至搜尋
預覽大小:469 × 599 像素。 其他解析度:188 × 240 像素 | 376 × 480 像素 | 693 × 885 像素。
原始檔案 (693 × 885 像素,檔案大小:130 KB,MIME 類型:image/png)
檔案資訊
結構化資料
說明
摘要
[編輯]描述Surface of revolution illustration.png |
Illustration of a en:surface of revolution |
日期 | (UTC) |
來源 |
source code below |
作者 | Oleg Alexandrov |
其他版本 | Derivative works of this file: Surface of revolution illustration violett.png: |
Public domainPublic domainfalsefalse |
我,此作品的版權所有人,釋出此作品至公共領域。此授權條款在全世界均適用。 這可能在某些國家不合法,如果是的話: 我授予任何人有權利使用此作品於任何用途,除受法律約束外,不受任何限制。 |
% illustration of a surface of revolution
function main()
% the number of data points. More points means prettier picture.
N = 300;
a=-3; b = 4.3;
% polar coordinates
ZZ = linspace(a, b, N);
TTheta = linspace(0, 2*pi, N);
% mesh grid
[Z, Theta] = meshgrid(ZZ, TTheta);
% the curve we will revolve
R = cos(Z)+2;
X = R.*cos(Theta); Y = R.*sin(Theta);
figure(2); clf; hold on; axis equal; axis off;
% plot the surface
H=surf(X, Y, Z); shading faceted;
% pick a color
mycolor=[184, 77, 66]/256; % pink brick
mycolor=[184, 224, 98]/256; % light green
% mycolor=[225, 168, 48]/256; % golden brown
% mycolor=[0, 66, 17]/256; % dark green
% mycolor=[225, 0, 84]/256; % pink
% set some propeties
set(H, 'FaceColor', mycolor, 'EdgeColor','none', 'FaceAlpha', 1);
set(H, 'SpecularColorReflectance', 0.1, 'DiffuseStrength', 0.8);
set(H, 'FaceLighting', 'phong', 'AmbientStrength', 0.3);
set(H, 'SpecularExponent', 108);
% viewing angle
view(0, 12);
% add in a source of light
camlight (-50, 54); lighting phong;
% save as png
print('-dpng', '-r200', 'Surface_of_revolution_illustration.png');
檔案歷史
點選日期/時間以檢視該時間的檔案版本。
日期/時間 | 縮圖 | 尺寸 | 用戶 | 備註 | |
---|---|---|---|---|---|
目前 | 2011年9月8日 (四) 20:15 | 693 × 885(130 KB) | Quibik(對話 | 貢獻) | Smoothed the edges and added transparency. | |
2007年9月5日 (三) 04:04 | 693 × 885(114 KB) | Oleg Alexandrov(對話 | 貢獻) | {{Information |Description=Illustration of a en:surface of revolution |Source=self-made with MATLAB, source code below |Date=04:00, 5 September 2007 (UTC) |Author= Oleg Alexandrov }} {{PD-self}} Category:Surfaces [[Cat |
無法覆蓋此檔案。
檔案用途
下列2個頁面有用到此檔案:
全域檔案使用狀況
以下其他 wiki 使用了這個檔案:
- ar.wikipedia.org 的使用狀況
- bn.wikipedia.org 的使用狀況
- en.wikipedia.org 的使用狀況
- eu.wikipedia.org 的使用狀況
- fa.wikipedia.org 的使用狀況
- fi.wikipedia.org 的使用狀況
- fr.wikipedia.org 的使用狀況
- gl.wikipedia.org 的使用狀況
- hu.wikipedia.org 的使用狀況
- it.wikipedia.org 的使用狀況
- ja.wikipedia.org 的使用狀況
- pt.wikipedia.org 的使用狀況
- ro.wikipedia.org 的使用狀況
- ru.wikipedia.org 的使用狀況
- ta.wikipedia.org 的使用狀況
- th.wikipedia.org 的使用狀況
- uk.wikipedia.org 的使用狀況
- vi.wikipedia.org 的使用狀況
- zh.wikipedia.org 的使用狀況