ファイル:Surface of revolution illustration.png

提供: testwiki
ナビゲーションに移動 検索に移動
    元のファイル (693 × 885 ピクセル、ファイルサイズ: 130キロバイト、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');
    

    キャプション

    このファイルの内容を1行で記述してください

    このファイルに描写されている項目

    題材

    5 9 2007

    132,870 バイト

    885 ピクセル

    693 ピクセル

    84d757284eca16fa8f92bd63681cb1203a194322

    ファイルの履歴

    過去の版のファイルを表示するには、その版の日時をクリックしてください。

    日時サムネイル寸法利用者コメント
    現在の版2011年9月8日 (木) 21:152011年9月8日 (木) 21:15時点における版のサムネイル693 × 885 (130キロバイト)wikimediacommons>QuibikSmoothed the edges and added transparency.

    このファイルを使用しているページはありません。