Skip to content
Snippets Groups Projects
Commit 367ac72f authored by Yessica Dominguez's avatar Yessica Dominguez
Browse files

Upload New File

parent 01c00720
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
"""
Created on Sun Dec 11 20:12:15 2022
@author: Usuario
"""
import matplotlib.pyplot as plt
# Track del neutron 0
#Detector Layer
x = [0,200]
y = [2,2]
y2 = [2.5,2.5]
# Ground
y1 = [0,0]
#"Tracking del primer neutron"
x1 = [178.324,186.75,157.713,30.1466,55.3114,61.3679,127.643,190.402,197.086,196.943,187.272,187.315]
z1 = [32.9121,2.5,53.5416,2.5,-0.0295019,2.0,24.2086,2.5,-0.0517591,2.0,-0.022933,2.0]
plt.plot(x1,z1,'black',label='Neutron Journey')
plt.scatter(x1,z1,color='red',s=16)
plt.plot(x,y,'g',label='Detector layer')
plt.plot(x,y1,'brown', label='Ground')
plt.plot(x,y2,'g')
plt.xlim(0,200)
plt.ylim(-2,55)
plt.xlabel('x_[m]', size=16)
plt.ylabel('Depth_[m]', size = 16)
plt.tick_params(labelsize=16)
plt.text(169,35,'91Mev',fontsize=17)
plt.grid()
plt.legend( fontsize='x-large')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment