File:Surface of revolution illustration.png
No ''Wikimedia Commons''
Pāriet uz navigāciju
Pāriet uz meklēšanu
Šī priekšskata izmērs: 469 × 599 pikseļi. Citi izmēri: 188 × 240 pikseļi | 376 × 480 pikseļi | 693 × 885 pikseļi.
Sākotnējais fails (693 × 885 pikseļi, faila izmērs: 130 KB, MIME tips: image/png)
Faila informācija
Strukturētie dati
Captions
Kopsavilkums[labot šo sadaļu]
AprakstsSurface of revolution illustration.png |
Illustration of a en:surface of revolution |
Datums | (UTC) |
Avots |
This diagram was created with MATLAB. source code below |
Autors | Oleg Alexandrov |
Citas versijas | Derivative works of this file: Surface of revolution illustration violett.png: |
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
Source code (MATLAB)[labot šo sadaļu]
% 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');
Faila hronoloģija
Uzklikšķini uz datums/laiks kolonnā esošās saites, lai apskatītos, kā šis fails izskatījās tad.
Datums/Laiks | Attēls | Izmēri | Dalībnieks | Komentārs | |
---|---|---|---|---|---|
tagadējais | 2011. gada 8. septembris, plkst. 20.15 | 693 × 885 (130 KB) | Quibik (diskusija | devums) | Smoothed the edges and added transparency. | |
2007. gada 5. septembris, plkst. 04.04 | 693 × 885 (114 KB) | Oleg Alexandrov (diskusija | devums) | {{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 |
Šo failu nevar pārrakstīt.
Faila lietojums
Šo failu izmanto šajās 2 lapās:
Globālais faila lietojums
Šīs Vikipēdijas izmanto šo failu:
- Izmantojums ar.wikipedia.org
- Izmantojums bn.wikipedia.org
- Izmantojums en.wikipedia.org
- Izmantojums eu.wikipedia.org
- Izmantojums fa.wikipedia.org
- Izmantojums fi.wikipedia.org
- Izmantojums fr.wikipedia.org
- Izmantojums gl.wikipedia.org
- Izmantojums hu.wikipedia.org
- Izmantojums it.wikipedia.org
- Izmantojums ja.wikipedia.org
- Izmantojums pt.wikipedia.org
- Izmantojums ru.wikipedia.org
- Izmantojums ta.wikipedia.org
- Izmantojums th.wikipedia.org
- Izmantojums uk.wikipedia.org
- Izmantojums vi.wikipedia.org
- Izmantojums zh.wikipedia.org