11.01.2015 Views

Geant4 Simulations for the Radon Electric Dipole Moment Search at

Geant4 Simulations for the Radon Electric Dipole Moment Search at

Geant4 Simulations for the Radon Electric Dipole Moment Search at

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

39 xx(i+1,j+1) = r(i+1,1)*sin((i*resTheta*pi/180.0)+...<br />

40 ((resTheta/2)*pi/180.0))*cos((0*pi/180.0));<br />

41 yy(i+1,j+1) = r(i+1,1)*sin((i*resTheta*pi/180.0)+...<br />

42 ((resTheta/2)*pi/180.0))*sin((0*pi/180.0));<br />

43 zz(i+1,j+1) = r(i+1,1)*cos((i*resTheta*pi/180.0)+...<br />

44 ((resTheta/2)*pi/180.0));<br />

45 else<br />

46 xx(i+1,j+1) = r(i+1,j+1)*sin((i*resTheta*pi/180.0)+...<br />

47 ((resTheta/2)*pi/180.0))*cos((j*resPhi*pi/180.0));<br />

48 yy(i+1,j+1) = r(i+1,j+1)*sin((i*resTheta*pi/180.0)+...<br />

49 ((resTheta/2)*pi/180.0))*sin((j*resPhi*pi/180.0));<br />

50 zz(i+1,j+1) = r(i+1,j+1)*cos((i*resTheta*pi/180.0)+...<br />

51 ((resTheta/2)*pi/180.0));<br />

52 end<br />

53 end<br />

54 end<br />

55 clf<br />

56 h1 = surf(xx,yy,zz);<br />

57 set(h1,'facealpha',0.85);<br />

58 colormap cool<br />

59 light<br />

60 lighting phong<br />

61 axis tight equal off<br />

62 % xlabel('Normalized Units')<br />

63 % ylabel('Normalized Units')<br />

64 % zlabel('Normalized Units')<br />

65 view(40,30)<br />

66 camzoom(1.5)<br />

67 fh = figure(1); % returns <strong>the</strong> handle to <strong>the</strong> figure object<br />

68 set(fh, 'color', 'white'); % sets <strong>the</strong> color to white<br />

95

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!