add in bounds
"\n",
" if axis == 'y':\n",
" plt.plot(x, 0.6*np.cos(x*np.pi/180), 'k', label='\"Ideal\"')\n",
+ " plt.plot(x, 0.6*np.cos(x*np.pi/180)-0.5, 'r', label='0.5 mm \"bounds\"', alpha=0.2)\n",
+ " plt.plot(x, 0.6*np.cos(x*np.pi/180)+0.5, 'r', alpha=0.2)\n",
+ " \n",
" elif axis == 'x':\n",
" plt.plot(x, np.zeros_like(x), 'k', label='\"Ideal\"')\n",
+ " plt.plot(x, np.zeros_like(x)-0.5, 'r', label='0.5 mm \"bounds\"', alpha=0.2)\n",
+ " plt.plot(x, np.zeros_like(x)+0.5, 'r', alpha=0.2)\n",
"\n",
" plt.legend()"
]
"source": [
"plot_enery_axis('10FFF', 'y')"
]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
}
],
"metadata": {
