- /
-
Moon View at MATropolis!
on 11 Oct 2022
- 94
- 540
- 0
- 4
- 278
%Remix from adam and Adam Danz (2022). craters
% (https://www.mathworks.com/matlabcentral/fileexchange/101649-craters), MATLAB Central File Exchange. Retrieved October 11, 2022.
f=figure('Color','k')
s=4
[x,y]=pol2cart(linspace(0,2*pi,1),[0,s+1])
rng(86041) % for reproducibility
craters('sphPos',[x(1),y(1),0],'sphRad',s(1))
axis off
view(2)
% Set camera and light properties
light()
material dull
c=[0 0 0];
axes(colorm=white,Color=c,Pr='p',CameraT=[40 33 3])
hold on
bar3(randg(2,80),'k');
axis equal
campos([1,33,7])
axis off
% camva(70)