File:Red cylinder.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(711 × 641 pixels, file size: 16 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
File:Red cylinder.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.

File:Red cylinder.png → File:Red cylinder.svg

For more information, see Help:SVG.

In other languages
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
New SVG image

Right circular cylinder, created in Matlab by Jitse Niesen.

Licensing

[edit]
Public domain 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.

Matlab source

[edit]
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/TimeThumbnailDimensionsUserComment
current22:31, 6 July 2008Thumbnail for version as of 22:31, 6 July 2008711 × 641 (16 KB)RockMFR (talk | contribs)new version to hopefully fix thumbnail issues
21:43, 30 September 2005Thumbnail for version as of 21:43, 30 September 2005711 × 641 (31 KB)Elya (talk | contribs)Reverted to earlier revision
20:24, 11 August 2005Thumbnail for version as of 20:24, 11 August 2005711 × 641 (31 KB)Jitse Niesen (talk | contribs)Right circular cylinder, created in Matlab by ~~~. {{PD}}

The following 2 pages use this file:

File usage on other wikis

The following other wikis use this file: