3 import matplotlib.pyplot
as plt
4 from matplotlib
import cm
8 sys.path.append(
'../../bin')
9 from class_files.winnet_class
import winnet
15 nsm_example = winnet(
'tracer_492.dat')
16 nsm_example.read_finab()
17 A,X = nsm_example.get_final_A_X()
19 ax.plot(A,X,lw=2,color=
"tab:blue",label=
"Representative with high mass")
22 nsm_example_2 = winnet(
'tracer_1131.dat')
23 nsm_example_2.read_finab()
24 A,X = nsm_example_2.get_final_A_X()
26 ax.plot(A,X,lw=2,color=
"tab:orange",label=
"High entropy with low mass")
31 ax.set_ylabel(
"Mass fraction")
32 ax.set_xlabel(
"Mass number")
36 ax.legend(loc=
"upper left")
37 plt.savefig(
"massfractions_nsm_dyn_ejecta_bovard.pdf",bbox_inches=
"tight")