Commit a92d95f5 authored by Nicolas Nunez Barreto's avatar Nicolas Nunez Barreto

todo

parent a1ad3e16
...@@ -439,13 +439,14 @@ paletadenico=sns.color_palette('rocket') ...@@ -439,13 +439,14 @@ paletadenico=sns.color_palette('rocket')
ms = 3 ms = 3
cs = 2 cs = 2
plt.figure(figsize=(2.5,2)) plt.figure(figsize=(3,2.4))
plt.errorbar(np.arange(-16,18,1), [i/np.max(Intensity) for i in Intensity], yerr=[i/np.max(Intensity) for i in errorIntensity], fmt='o',capsize=cs, markersize=ms,color=paletadenico[1]) plt.errorbar(np.arange(-16,18,1), [i/np.max(Intensity) for i in Intensity], yerr=[i/np.max(Intensity) for i in errorIntensity], fmt='o',capsize=cs, markersize=ms,color=paletadenico[1])
#plt.errorbar(np.arange(0,len(Intensity),1), [p for p in pmdepthsdr], yerr=errorpmdepthsdr, fmt='o',capsize=2, markersize=8) #plt.errorbar(np.arange(0,len(Intensity),1), [p for p in pmdepthsdr], yerr=errorpmdepthsdr, fmt='o',capsize=2, markersize=8)
#plt.errorbar(np.arange(0,len(Intensity),1), [p for p in mmdepthsdr[3:]], yerr=[0.5*m for m in errormmdepthsdr[3:]], fmt='o',capsize=2, markersize=8) #plt.errorbar(np.arange(0,len(Intensity),1), [p for p in mmdepthsdr[3:]], yerr=[0.5*m for m in errormmdepthsdr[3:]], fmt='o',capsize=2, markersize=8)
plt.xlabel('Distance to center of beam (um)', fontname='STIXgeneral',fontsize=10) #plt.xlabel('Distance to center of beam (um)', fontname='STIXgeneral',fontsize=10)
plt.ylabel('Beam intensity', fontname='STIXgeneral',fontsize=10) plt.ylabel('Beam intensity', fontname='STIXgeneral',fontsize=10)
plt.xticks([-15,-10,-5,0,5,10,15], fontname='STIXgeneral',fontsize=10) plt.xticks([-15,-10,-5,0,5,10,15], fontname='STIXgeneral',fontsize=10)
#plt.xticks([])
plt.yticks([0,0.2,0.4,0.6,0.8,1], fontname='STIXgeneral',fontsize=10) plt.yticks([0,0.2,0.4,0.6,0.8,1], fontname='STIXgeneral',fontsize=10)
#plt.xlim(200,3200) #plt.xlim(200,3200)
plt.ylim(-0.1,1.1) plt.ylim(-0.1,1.1)
...@@ -457,10 +458,10 @@ plt.savefig('/home/nico/Nextcloud/G_liaf/Publicaciones/Papers/2024 Rotational Do ...@@ -457,10 +458,10 @@ plt.savefig('/home/nico/Nextcloud/G_liaf/Publicaciones/Papers/2024 Rotational Do
#%% #%%
plt.figure(figsize=(2.5,2)) plt.figure(figsize=(3,2.4))
#plt.errorbar(np.arange(0,len(Intensity),1), [i/np.max(Intensity) for i in Intensity], yerr=[i/np.max(Intensity) for i in errorIntensity], fmt='o',capsize=2, markersize=8) #plt.errorbar(np.arange(0,len(Intensity),1), [i/np.max(Intensity) for i in Intensity], yerr=[i/np.max(Intensity) for i in errorIntensity], fmt='o',capsize=2, markersize=8)
plt.errorbar(np.arange(-16,18,1), [p for p in pmdepthsdr], yerr=errorpmdepthsdr, fmt='o',capsize=cs, markersize=ms,color=paletadenico[3]) plt.errorbar(np.arange(-16,18,1), [p for p in pmdepthsdr], yerr=errorpmdepthsdr, fmt='o',capsize=cs, markersize=ms,color=paletadenico[3],label='Counterrotating')
plt.errorbar(np.arange(-16,18,1), [p for p in mmdepthsdr[2:-1]], yerr=[1*m for m in errormmdepthsdr[2:-1]], fmt='o',capsize=cs, markersize=ms,color=paletadenico[0]) plt.errorbar(np.arange(-16,18,1), [p for p in mmdepthsdr[2:-1]], yerr=[1*m for m in errormmdepthsdr[2:-1]], fmt='o',capsize=cs, markersize=ms,color=paletadenico[0],label='Corotating')
plt.xlabel('Distance to center (um)', fontname='STIXgeneral',fontsize=10) plt.xlabel('Distance to center (um)', fontname='STIXgeneral',fontsize=10)
plt.ylabel('DR Relative depth', fontname='STIXgeneral',fontsize=10) plt.ylabel('DR Relative depth', fontname='STIXgeneral',fontsize=10)
plt.xticks([-15,-10,-5,0,5,10,15], fontname='STIXgeneral',fontsize=10) plt.xticks([-15,-10,-5,0,5,10,15], fontname='STIXgeneral',fontsize=10)
...@@ -469,9 +470,11 @@ plt.yticks([0,0.2,0.4,0.6,0.8,1], fontname='STIXgeneral',fontsize=10) ...@@ -469,9 +470,11 @@ plt.yticks([0,0.2,0.4,0.6,0.8,1], fontname='STIXgeneral',fontsize=10)
plt.ylim(-0.1,1.1) plt.ylim(-0.1,1.1)
plt.grid() plt.grid()
#plt.axvline(3, color='salmon') #plt.axvline(3, color='salmon')
plt.legend() plt.legend(prop={'family':'STIXgeneral', 'size':7},loc='upper center',fontsize=5,markerscale=1)
plt.tight_layout() plt.tight_layout()
plt.savefig('/home/nico/Nextcloud/Nico/Doctorado/Charlas/2023 Europe/depthsradial.pdf') plt.savefig('/home/nico/Nextcloud/G_liaf/Publicaciones/Papers/2024 Rotational Doppler Effect/Figuras/Material/fig3_c.pdf')
#%% #%%
""" """
Intento ajustar un modelo para la profundidad Intento ajustar un modelo para la profundidad
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment