|
This is a file from the Wikimedia Commons. Information from its description page there is shown below. Commons is a freely licensed media file repository. You can help.
|
|
File:Red cylinder.svg is a vector version of this file. It should be used in place of this raster image when superior.
File:Red cylinder.png File: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.
|
|
Right circular cylinder, created in Matlab by Jitse Niesen.
Licensing
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.Public domainPublic domainfalsefalse
|
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 usage
The following pages on Schools Wikipedia link to this image (list may be incomplete):
All five editions of Schools Wikipedia were compiled by SOS Children. SOS Children is famous for the love and shelter it brings to lone children, but we also support families in the areas around our Children's Villages, helping those who need us the most. Have you heard about child sponsorship? Visit our web site to find out.