File:TorusSystole.png

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

Original file(943 × 862 pixels, file size: 75 KB, MIME type: image/png)

Captions

Captions

A pinched torus

Summary

[edit]
Description
English: A pinched torus.
Date
Source Own work using MATLAB
Author RobHar

Data file

[edit]

This graphic was created in MATLAB using the following code:

%create u-v grid space
u=linspace(0,2*pi,120);
v=linspace(0,2*pi,120);
[u,v]=meshgrid(u,v);

R=0.5;                  %set large radius of torus
r=abs(cos(v/2))*0.2;    %set small radius to vary with angle

%parametrization
x=(R+r.*cos(u)).*cos(v);
y=(R+r.*cos(u)).*sin(v);
z=r.*sin(u);

H=surf(x,y,z);
set(H,'FaceColor',[0.25 0.25 0.75],'EdgeColor','none');
set(H,'SpecularColorReflectance', 0.2, 'DiffuseStrength', 0.8);
set(H,'AmbientStrength', 0.3,'FaceLighting','phong');
set(H,'SpecularExponent', 100);

daspect([1 1 1]);   %set ratio of x,y,z axes
axis tight;         %fit axes to figure
axis off;           %don't show axes
view(190, 40);      %set viewing angle
camlight (-50, 54); lighting phong; %add light source

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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current01:22, 19 December 2008Thumbnail for version as of 01:22, 19 December 2008943 × 862 (75 KB)RobHar (talk | contribs){{Information |Description={{en|1=A pinched torus.}} |Source=Own work using MATLAB |Author=RobHar |Date=2008-12-18 |Permission= |other_versions= }} <!--{{ImageUpload|full}}--> Category:Torus

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: