diff --git a/Notebooks/Chap04/4_2_Clipping_functions.ipynb b/Notebooks/Chap04/4_2_Clipping_functions.ipynb index 82c725b..0dbf46d 100644 --- a/Notebooks/Chap04/4_2_Clipping_functions.ipynb +++ b/Notebooks/Chap04/4_2_Clipping_functions.ipynb @@ -4,7 +4,7 @@ "metadata": { "colab": { "provenance": [], - "authorship_tag": "ABX9TyPkFrjmRAUf0fxN07RC4xMI", + "authorship_tag": "ABX9TyPZzptvvf7OPZai8erQ/0xT", "include_colab_link": true }, "kernelspec": { @@ -127,26 +127,26 @@ " fig, ax = plt.subplots(3,3)\n", " fig.set_size_inches(8.5, 8.5)\n", " fig.tight_layout(pad=3.0)\n", - " ax[0,0].plot(x,layer2_pre_1,'r-'); ax[0,0].set_ylabel('$\\psi_{10}+\\psi_{11}h_{1}+\\psi_{12}h_{2}+\\psi_{13}h_3$')\n", - " ax[0,1].plot(x,layer2_pre_2,'b-'); ax[0,1].set_ylabel('$\\psi_{20}+\\psi_{21}h_{1}+\\psi_{22}h_{2}+\\psi_{23}h_3$')\n", - " ax[0,2].plot(x,layer2_pre_3,'g-'); ax[0,2].set_ylabel('$\\psi_{30}+\\psi_{31}h_{1}+\\psi_{32}h_{2}+\\psi_{33}h_3$')\n", - " ax[1,0].plot(x,h1_prime,'r-'); ax[1,0].set_ylabel(\"$h_{1}^{'}$\")\n", - " ax[1,1].plot(x,h2_prime,'b-'); ax[1,1].set_ylabel(\"$h_{2}^{'}$\")\n", - " ax[1,2].plot(x,h3_prime,'g-'); ax[1,2].set_ylabel(\"$h_{3}^{'}$\")\n", - " ax[2,0].plot(x,phi1_h1_prime,'r-'); ax[2,0].set_ylabel(\"$\\phi_1 h_{1}^{'}$\")\n", - " ax[2,1].plot(x,phi2_h2_prime,'b-'); ax[2,1].set_ylabel(\"$\\phi_2 h_{2}^{'}$\")\n", - " ax[2,2].plot(x,phi3_h3_prime,'g-'); ax[2,2].set_ylabel(\"$\\phi_3 h_{3}^{'}$\")\n", + " ax[0,0].plot(x,layer2_pre_1,'r-'); ax[0,0].set_ylabel(r'$\\psi_{10}+\\psi_{11}h_{1}+\\psi_{12}h_{2}+\\psi_{13}h_3$')\n", + " ax[0,1].plot(x,layer2_pre_2,'b-'); ax[0,1].set_ylabel(r'$\\psi_{20}+\\psi_{21}h_{1}+\\psi_{22}h_{2}+\\psi_{23}h_3$')\n", + " ax[0,2].plot(x,layer2_pre_3,'g-'); ax[0,2].set_ylabel(r'$\\psi_{30}+\\psi_{31}h_{1}+\\psi_{32}h_{2}+\\psi_{33}h_3$')\n", + " ax[1,0].plot(x,h1_prime,'r-'); ax[1,0].set_ylabel(r\"$h_{1}^{'}$\")\n", + " ax[1,1].plot(x,h2_prime,'b-'); ax[1,1].set_ylabel(r\"$h_{2}^{'}$\")\n", + " ax[1,2].plot(x,h3_prime,'g-'); ax[1,2].set_ylabel(r\"$h_{3}^{'}$\")\n", + " ax[2,0].plot(x,phi1_h1_prime,'r-'); ax[2,0].set_ylabel(r\"$\\phi_1 h_{1}^{'}$\")\n", + " ax[2,1].plot(x,phi2_h2_prime,'b-'); ax[2,1].set_ylabel(r\"$\\phi_2 h_{2}^{'}$\")\n", + " ax[2,2].plot(x,phi3_h3_prime,'g-'); ax[2,2].set_ylabel(r\"$\\phi_3 h_{3}^{'}$\")\n", "\n", " for plot_y in range(3):\n", " for plot_x in range(3):\n", " ax[plot_y,plot_x].set_xlim([0,1]);ax[plot_x,plot_y].set_ylim([-1,1])\n", " ax[plot_y,plot_x].set_aspect(0.5)\n", - " ax[2,plot_y].set_xlabel('Input, $x$');\n", + " ax[2,plot_y].set_xlabel(r'Input, $x$');\n", " plt.show()\n", "\n", " fig, ax = plt.subplots()\n", " ax.plot(x,y)\n", - " ax.set_xlabel('Input, $x$'); ax.set_ylabel('Output, $y$')\n", + " ax.set_xlabel(r'Input, $x$'); ax.set_ylabel(r'Output, $y$')\n", " ax.set_xlim([0,1]);ax.set_ylim([-1,1])\n", " ax.set_aspect(0.5)\n", " plt.show()"