diff --git a/src/NRSS_tutorials/MWCNTs/nb3_nrss.ipynb b/src/NRSS_tutorials/MWCNTs/nb3_nrss.ipynb index 0606abc..2f9e5a6 100644 --- a/src/NRSS_tutorials/MWCNTs/nb3_nrss.ipynb +++ b/src/NRSS_tutorials/MWCNTs/nb3_nrss.ipynb @@ -2227,6 +2227,32 @@ "plot_results(scattering_chi_all, radius_sigma, hollow_fraction, show=True)" ] }, + { + "cell_type": "code", + "execution_count": null, + "id": "60d5d0bf-d41d-4534-bb9e-01e9e7af1ec0", + "metadata": {}, + "outputs": [], + "source": [ + "plot_kwargs = {'norm':LogNorm(1e1,1e6), 'cmap':'terrain', 'add_colorbar':False}\n", + "fig, ax = plt.subplots(2,2, dpi=240, figsize=(5,4), constrained_layout=True)\n", + "ax = ax.flatten()\n", + "scattering_chi_all.sel(energy=270).plot(**plot_kwargs, ax=ax[0])\n", + "scattering_chi_all.sel(energy=285).plot(**plot_kwargs, ax=ax[1])\n", + "\n", + "pol90_waxs.sel(energy=270).plot(**plot_kwargs, ax=ax[2])\n", + "pol90_waxs.sel(energy=285).plot(**plot_kwargs, ax=ax[3])\n", + "\n", + "[{axes.set_title(''), axes.set_xlabel(''), axes.set_ylabel('')} for axes in ax]\n", + "ax[0].set_title('270 eV', fontsize=10)\n", + "ax[1].set_title('285 eV', fontsize=10)\n", + "ax[0].set_ylabel('Pol = 0',fontsize=10)\n", + "ax[2].set_ylabel('Pol = 90',fontsize=10)\n", + "\n", + "# plt.savefig('Figures/experiment2D.png', dpi=300, format='png', bbox_inches='tight')\n", + "plt.show()" + ] + }, { "cell_type": "markdown", "id": "65e3e021-5a81-4bf2-8662-c0d4831999dd",