• Remix
  • Share
  • New Entry

on 11 Oct 2022
  • 94
  • 528
  • 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')
f =
Figure (1) with properties: Number: 1 Name: '' Color: [0 0 0] Position: [671 661 577 433] Units: 'pixels' Show all properties
s=4
s = 4
[x,y]=pol2cart(linspace(0,2*pi,1),[0,s+1])
x = 1×2
0 5
y = 1×2
1.0e-14 * 0 -0.1225
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)
Remix Tree
Load full remix tree