From Wikipedia, the free encyclopedia
No higher resolution available.Sphere_with_chart.png (366 × 591 pixels, file size: 38 KB, MIME type: image/png)
A sphere with the chart mapping the upper hemisphere to a disk.
Created by me using Matlab.
[edit] Licensing
[edit] Matlab source
clf;
hold on;
colormap([0 0 1; 1 0.2 0.2; 1 0 0; 0 0 0]);
[sx,sy,sz] = sphere(49);
sc = [ ones(24,50); 2*ones(26,50) ];
surf(sx,sy,sz, sc, 'EdgeColor', 'none', 'FaceColor', 'flat', ...
'FaceLighting', 'phong');
sz2 = 2*ones(50,50);
sc2 = 3*ones(50,50);
surf(sx,sy,sz2, sc2, 'EdgeColor', 'none', 'FaceColor', 'flat', ...
'FaceLighting', 'phong', 'FaceAlpha', 0.5);
[cx,cy,cz] = cylinder([0.005 0.005]);
cc = 4*ones(size(cx));
surf(cx+1, cy, 2*cz, cc);
surf(cx-1, cy, 2*cz, cc);
surf(cx, cy+1, 2*cz, cc);
surf(cx, cy-1, 2*cz, cc);
surf(cx, cy, cz+1, cc);
view(3);
camlight left;
axis equal;
axis off;
print -dpng spc_tmp.png
system('convert -trim spc_tmp.png spc.png');
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment |
current | 18:54, 17 July 2005 | 366×591 (38 KB) | Jitse Niesen | |
File links
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):