Chapter 1-2, revised, parenthesis change
This commit is contained in:
+7
-3
@@ -25,7 +25,7 @@ import analysis.plotDataFromAcronym.plot_standards as pltStd
|
||||
|
||||
|
||||
thesis_path = "/home/jonas/new_workspace/notes/katrin-plasma/docs/phd/jkellerer"
|
||||
output_folder = thesis_path+"/fig/Chapter2_KATRIN/MagneticBackgroundField/"
|
||||
output_folder = thesis_path+"/fig/Chapter2_KATRIN/MagneticField/"
|
||||
|
||||
data_folder = thesis_path + "/figCode/Chapter2_KATRIN/MagneticBackgroundField/"
|
||||
|
||||
@@ -58,11 +58,15 @@ colors = prop_cycle.by_key()['color']
|
||||
(width, height) = pltStd.set_size('thesis')
|
||||
fig, ax = plt.subplots(1, 1, figsize=(width, height),sharex=True)
|
||||
|
||||
ax.set_xlabel(r'Length $z$ [m]')
|
||||
ax.set_ylabel(r'Magnetic Field $B_z$ [T]')
|
||||
ax.set_xlabel(r'Distance to rear wall $z$ (m)')
|
||||
ax.set_ylabel(r'Magnetic Field $B_z$ (T)')
|
||||
ax.plot(z_plot, Bz_plot)
|
||||
#ax.vlines(0.,0.,6)
|
||||
#ax.set_xlim((-0.1,17.5))
|
||||
|
||||
ax.set_facecolor('#e7e7e7ff')
|
||||
ax.grid(color='white')
|
||||
|
||||
plt.savefig(output_folder+"Bz_vs_z.pdf",bbox_inches='tight')
|
||||
plt.savefig(data_folder+"Bz_vs_z.pdf",bbox_inches='tight')
|
||||
plt.show()
|
||||
|
||||
Reference in New Issue
Block a user