파일:Surface of revolution illustration.png

testwiki
둘러보기로 이동 검색으로 이동
    원본 파일 (693 × 885 픽셀, 파일 크기: 130 KB, MIME 종류: image/png)

    이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.

    파일 설명

    설명 Illustration of a en:surface of revolution
    날짜 (UTC)
    출처
     이 다이어그램 MATLAB(으)로 제작되었습니다.

    source code below
    저자 Oleg Alexandrov
    다른 버전 이 파일은 다음으로 파생됨:  Surface of revolution illustration violett.png: 
    Public domain 나는 이 작품의 저작권자로서, 이 작품을 퍼블릭 도메인으로 모두에게 공개합니다. 이 공개 선언은 전 세계적으로 유효합니다.
    만약 저작권의 포기가 법률적으로 가능하지 않은 경우,
    나는 이 작품을 법적으로 허용되는 한도 내에서 누구나 자유롭게 어떤 목적으로도 제한없이 사용할 수 있도록 허용합니다.

    Source code (MATLAB)

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

    설명

    이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

    이 파일에 묘사된 항목

    다음을 묘사함

    132,870 바이트

    885 화소

    693 화소

    84d757284eca16fa8f92bd63681cb1203a194322

    파일 역사

    날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

    날짜/시간섬네일크기사용자설명
    현재2011년 9월 8일 (목) 21:152011년 9월 8일 (목) 21:15 판의 섬네일693 × 885 (130 KB)wikimediacommons>QuibikSmoothed the edges and added transparency.

    이 파일을 사용하는 문서가 없습니다.