File:Red cylinder.png

From formulasearchengine
Jump to navigation Jump to search
    Original file (711 × 641 pixels, file size: 16 KB, MIME type: image/png)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Summary

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

    Right circular cylinder, created in Matlab by Jitse Niesen.

    Licensing

    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

    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');
    

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    image/png

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current00:31, 7 July 2008Thumbnail for version as of 00:31, 7 July 2008711 × 641 (16 KB)wikimediacommons>RockMFRnew version to hopefully fix thumbnail issues

    The following page uses this file: