From Wikipedia, the free encyclopedia
Size of this preview: 532 × 480 pixels Full resolution (711 × 641 pixels, file size: 16 KB, MIME type: image/png)
|
This is a file from the Wikimedia Commons. The description on its description page there is shown below.Commons is a freely licensed media file repository. You can help.
|
A vector version of this image (SVG) is available. It should be used in place of this raster image when superior.
Image:Red cylinder.png Image:Red cylinder.svg
For more information about vector graphics, read about Commons transition to SVG. There is also information about MediaWiki's support of SVG images.
Deutsch | English | Español | Français | Galego | עברית | Magyar | Italiano | 日本語 | 한국어 | Lietuvių | Polski | Português | Русский | Српски / Srpski | Українська | +/- |
|
Right circular cylinder, created in Matlab by Jitse Niesen.
Licensing
|
I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.
In case this is not legally possible: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Български | Català | Cebuano | Česky | Cymraeg | Dansk | Deutsch | Eʋegbe | Ελληνικά | English | Español | Esperanto | Euskara | Estremeñu | فارسی | Français | Galego | 한국어 | हिन्दी | Hrvatski | Ido | Bahasa Indonesia | Íslenska | Italiano | עברית | Kurdî / كوردی | Latina | Lietuvių | Latviešu | Magyar | Македонски | Bahasa Melayu | Nederlands | Norsk (bokmål) | Norsk (nynorsk) | 日本語 | Polski | Português | Ripoarisch | Română | Русский | Shqip | Slovenčina | Slovenščina | Српски / Srpski | Suomi | Svenska | ไทย | Tagalog | Türkçe | Українська | Tiếng Việt | Walon | 中文(简体) | 中文(繁體) | zh-yue-hant | +/- |
Matlab source
clf;
colormap([1 0 0]);
[cx,cy,cz] = cylinder([0.2 0.2], 100);
cc = ones(size(cx));
% rotate by 70 degrees around y axis
M = [ cos(7/18*pi) sin(7/18*pi); -sin(7/18*pi) cos(7/18*pi) ];
for k = 1:size(cx,1)
for l = 1:size(cx,2)
v = M * [cx(k,l); cz(k,l)];
cx(k,l) = v(1);
cz(k,l) = v(2);
end
end;
surf(cx,cy,cz, cc, 'EdgeColor', 'none', 'FaceColor', 'flat', ...
'FaceLighting', 'phong');
view(3);
camlight left;
axis equal;
axis off;
print -dpng cyl_tmp.png
system('convert -trim -border 20 -bordercolor white -transparent white cyl_tmp.png cyl.png');
File history
Click on a date/time to view the file as it appeared at that time.
|
Date/Time |
Dimensions |
User |
Comment |
current |
22:31, 6 July 2008 |
711×641 (16 KB) |
RockMFR |
|
|
21:43, 30 September 2005 |
711×641 (31 KB) |
Elya |
|
|
20:24, 11 August 2005 |
711×641 (31 KB) |
Jitse Niesen |
|
File links
The following pages on Schools Wikipedia link to this image (list may be incomplete):