File:Volume under surface.png
维基共享资源,媒体文件资料库
跳转到导航
跳转到搜索
本预览的尺寸:500 × 599像素。 其他分辨率:200 × 240像素 | 636 × 762像素。
原始文件 (636 × 762像素,文件大小:56 KB,MIME类型:image/png)
文件信息
结构化数据
说明
描述Volume under surface.png | Illustration of volume under a surface (double integral) |
日期 | (UTC) |
来源 | self-made with MATLAB |
作者 | Oleg Alexandrov |
Public domainPublic domainfalsefalse |
我,本作品著作权人,释出本作品至公有领域。这适用于全世界。 在一些国家这可能不合法;如果是这样的话,那么: 我无条件地授予任何人以任何目的使用本作品的权利,除非这些条件是法律规定所必需的。 |
% illustration of the volume under a surface
function main()
L=5; % box size
N=100; % number of points in a lot of places
lw=2; % width of lines
alphatop=1; % transparency
alphaside=0.82;
alphabot=0.8;
bluetop =[0, 1, 0.8];
blueside=[0.2, 0.9, 0.8]; %bluetop;%[0, 0, 1];
bluebot=[0.5, 0.5, 0.5]; %bluetop;%[0, 0, 1];
black=[0, 0, 0];
% the function whose surface we will plot
f=inline('10-(x.^2-y.^2)/8', 'x', 'y');
XX=linspace(-L, L, N);
YY=XX;
[X, Y]=meshgrid(XX, YY);
Z=f(X, Y);
% the surface of the side
XS = [XX, 0*XX+L invert_vector(XX), 0*XX-L];
YS = [0*XX-L, YY, 0*XX+L, invert_vector(YY)];
XS = [XS' XS']';
YS = [YS' YS']';
ZS = 0*XS;
ZS(2, :) = f(XS(2, :), YS(2, :));
% the contour of the bottom
XD=[-L, L, L, -L, -L];
YD=[-L, -L, L, L, -L];
ZD=XD*0;
% prepare figure 1 for plotting
figure(1); clf; hold on; axis equal; axis off;
% plot the function u
surf(X, Y, Z, 'FaceColor', bluetop, 'EdgeColor','none', 'FaceAlpha', alphatop); % top
surf(X, Y, 0*Z, 'FaceColor', bluebot, 'EdgeColor','none', 'FaceAlpha', alphabot); % bottom
surf(XS, YS, ZS, 'FaceColor', blueside, 'EdgeColor','none', 'FaceAlpha', alphaside); % sides
phi = -68; theta = 28;
view (phi, theta);
camlight headlight; lighting phong; % make nice lightning
print('-dpng', '-r200', 'Volume_under_surface.png') % save to file.
function Z = invert_vector(X)
N=length(X);
Z = X;
for i=1:N
Z(i)=X(N-i+1);
end
文件历史
点击某个日期/时间查看对应时刻的文件。
日期/时间 | 缩略图 | 大小 | 用户 | 备注 | |
---|---|---|---|---|---|
当前 | 2007年12月30日 (日) 03:16 | 636 × 762(56 KB) | Oleg Alexandrov(留言 | 贡献) | crop | |
2007年12月30日 (日) 03:15 | 1,600 × 1,200(70 KB) | Oleg Alexandrov(留言 | 贡献) | {{Information |Description=Illustration of double integral |Source=self-made with MATLAB |Date=~~~~~ |Author= Oleg Alexandrov |Permission=See below |other_versions= }} {{PD-self}} ==Source code ([[:en:MATLAB |
您不可以覆盖此文件。
文件用途
没有页面使用本文件。
全域文件用途
以下其他wiki使用此文件:
- ar.wikipedia.org上的用途
- ast.wikipedia.org上的用途
- az.wikipedia.org上的用途
- ba.wikipedia.org上的用途
- bs.wikipedia.org上的用途
- ca.wikipedia.org上的用途
- ckb.wikipedia.org上的用途
- cs.wikipedia.org上的用途
- cv.wikipedia.org上的用途
- de.wikiversity.org上的用途
- Kurs:Mathematik (Osnabrück 2009-2011)/Teil III/Vorlesung 70
- Kurs:Mathematik (Osnabrück 2009-2011)/Teil III/Vorlesung 70/kontrolle
- Kurs:Mathematik für Anwender (Osnabrück 2011-2012)/Teil II/Vorlesung 56
- Kurs:Analysis (Osnabrück 2013-2015)/Teil III/Vorlesung 69
- Kurs:Analysis (Osnabrück 2014-2016)/Teil III/Vorlesung 69
- Kurs:Analysis (Osnabrück 2014-2016)/Teil III/Vorlesung 69/kontrolle
- Kurs:Mathematik für Anwender (Osnabrück 2019-2020)/Teil II/Vorlesung 59
- Kurs:Mathematik für Anwender (Osnabrück 2019-2020)/Teil II/Vorlesung 59/kontrolle
- Kurs:Mathematik für Anwender (Osnabrück 2020-2021)/Teil II/Vorlesung 59
- Kurs:Mathematik für Anwender (Osnabrück 2020-2021)/Teil II/Vorlesung 59/kontrolle
- Kurs:Maß- und Integrationstheorie (Osnabrück 2022-2023)/Vorlesung 9
- Kurs:Maß- und Integrationstheorie (Osnabrück 2022-2023)/Vorlesung 9/kontrolle
- Kurs:Analysis (Osnabrück 2013-2015)/Teil III/Vorlesung 69/kontrolle
- Kurs:Mathematik für Anwender (Osnabrück 2011-2012)/Teil II/Vorlesung 56/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上的用途
- fr.wikiversity.org上的用途
- gl.wikipedia.org上的用途
- hu.wikipedia.org上的用途
- id.wikipedia.org上的用途
- ja.wikipedia.org上的用途
- jbo.wikipedia.org上的用途
- kn.wikipedia.org上的用途
- ko.wikipedia.org上的用途
- nl.wikipedia.org上的用途
- no.wikipedia.org上的用途
- pl.wikipedia.org上的用途
查看此文件的更多全域用途。