258 lines
57 KiB
Plaintext
258 lines
57 KiB
Plaintext
|
{
|
||
|
"cells": [
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"id": "80def311",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"Libraries"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 1,
|
||
|
"id": "30af2519",
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"import scipy \n",
|
||
|
"import numpy as np\n",
|
||
|
"import matplotlib.pyplot as plt"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"id": "ae5d4a87",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"Data"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 11,
|
||
|
"id": "2ed44ec9",
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"x= np.linspace(0,2*np.pi)\n",
|
||
|
"y= np.sin(x)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 12,
|
||
|
"id": "c2682013",
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAD4CAYAAADhNOGaAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAuYElEQVR4nO3deXhU5dnH8e+dDUiAhEAIWQhhCYGwQwQRF3YBF9RWKq1LtZZSRRRtrda2+trW2kWtVasi4lJ3XKmCbC4sipAAQthD2BK2sGSBJGS73z8y9IoYIMlMcmYy9+e65pqZc84z5zcuc+c5y/OIqmKMMcZ/BTgdwBhjjLOsEBhjjJ+zQmCMMX7OCo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opK7nt/PW1CQ3hggt097K7YiBb8/vIUVu06yrvp2U7HMcYnWSFoZC8u30lGTgEPT+xFeGiw03GahGsHxTM4MZK/zN/MsROlTscxxudYIWhEuw6f4PFF2xibEs14G1DOY0SEP17Vm8KSch6dv8XpOMb4HCsEjURVuf/9DYQEBfDHq3rbjWMeltyhFT+7sDNvp+0lfffRczcwxvyPFYJGMictm6+zjvDbCT2Jbm03QDWE6aOSiA1vzgMfZFBeUel0HGN8hhWCRpBfXMajn27hvMQ2/CjVxhJqKGHNgvjDFb3YcqCQl7/a5XQcY3yGFYJG8M/F28grKuWhK3sREGCHhBrSpb2iGZEcxROLtrE/v9jpOMb4BCsEDWz7wUJe/Xo3kwcn0Cs23Ok4TZ6I8H9X9qa8Uvnjx5ucjmOMT7BC0IBUlYf+u5GwkEDuGWvDSDSWhLa
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x288 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.plot(x,y)\n",
|
||
|
"plt.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 13,
|
||
|
"id": "b48650e9",
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAXwAAACJCAYAAAAvz4PUAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAdRklEQVR4nO3deXhU5f338fc3O9lIIAmQkJCwyC4BQxIWFetKqwKthbCooGwqtv316YLt82v7s621y1OtKwQQ0bKKUhERai0IKiEQkJ1ACFsIkASy78v9/JGxP8SwhExyZvm+ritXZjIncz5DLj45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yGh5dnM7B3BJeShnMA4MirY6kWsDb04MXxscT0s6bBVuPU1RRyx++O1Av0FJuRwv/MnklVUxZtJ0TFyqY//At3Nm3k9WRlB14eAi/ebA/If4+/O2To5RU1fLSxMH4eun7Mcp96CHOJXIKKxg/fxs5hZW8OXWolr2LERH+6+6b+PUD/dh44Dwz3sqgsqbe6lhKtRktfJvs/DLGz9vGhfIa3n48ieE9ne4yAXWdpo2I40/fu5mtR/OZ9ma6zquv3IYWPnD4XAnj56dRXdfAipnJevWsGxg/NJoXxsez40Qhj7yRTklVrdWRlGp1bl/4B3KLmZiahqcHrJw1jP6R7a2OpNrI2MFRvDJxMHtOFzFl4XaKKmqsjqRUq3Lrwt+XU8ykBdtp5+3JqlnD6BkRaHUk1cZGD+zCvCm3cPhsKRMXbOdCWbXVkZRqNW5b+LtPFTJpYRpBfl6snDVMl8lzY3f168SCRxPIzi9jQmoaeTrTpnJRbln4GSc
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x432 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"# explicity\n",
|
||
|
"fig = plt.figure(figsize=(6,6))\n",
|
||
|
"ax = plt.subplot(aspect=1)\n",
|
||
|
"ax.plot(x,y) \n",
|
||
|
"plt.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 85,
|
||
|
"id": "9d421a2a",
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"Text(0, 0.5, 'y')"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 85,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAACXCAYAAAALQRzhAAA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2NJLU8pX2izhdJ6ikqUdQTMrsp7MDNwsCV7Kmpll8bZ0OlpeUpjQk7XyStYRBrojCzZcBXqC5ctNrdr9ltu9W2nwz8HviYuz/S8UADygpRB65KAdlTr6cY2Ppr8qLMoEaGeqrZFXS+SFrDILZEYWY54OvAB6mun/2Qmd3h7hsn7bYcOLz23xLgm7WfHaUSk0T1FENbf8Ui5b4cpXk7KT6Xo1CnbBnVilRPtbskrSRVN1HUliu9xd1fafN7LwY2ufsztff5AbACmJwoVgBrasufPmhm+5vZIe7+fJtjAaB85ypK62+luOh0CssHq8+pxCQ1YT3FsNZfuRcGzjUqOyE/yxjqhQLh36l6rUj1VLtHMyWpoPNXu0ynR3Ew1db+I8BNwN1tWrd6HrBl0uMR9uwtBO0zD2h7oijfuYqB+z9FJQf5++9hCCgsH1SJSeoKa/2VNpeo+ChjOBUfnfjuhH2n1EuVyRopSYWdv9plVr0d3P0LVEs/NwIfA542s38xsz9t8b0t6O2a2Ke6o9mgmT1sZg+/9NJLDQdTWn8rlRyMzYLKrOpj2HUSyFlOB68EGm/9Xfn+K6e08MK+O2HPh72OyLiw707Y+atdpjVG4e5uZr8FfguMAu8AfmxmP3P3zzX53iPA/EmPe4GtTewzHuMqYBVUL7hrNJjiotPJ338PFYf8zupjUG1Ypieo9Rf23SnMLzB07JerZYJjT1d5SaYt7DsVdv5ql7pXZpvZhcC5wMvAauB2d99hZrOAp929qZ6Fme0FPAUMAM8BDwEfcfcNk/Y5Bbi
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x432 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"#\n",
|
||
|
"fig = plt.figure(figsize=(6,6))\n",
|
||
|
"ax = plt.subplot(aspect=1)\n",
|
||
|
"ax.plot(x,y,\".r\",label=\"sin\") \n",
|
||
|
"ax.plot(x,y*y,\".g\",label=\"$sin^2$\") \n",
|
||
|
"ax.legend()\n",
|
||
|
"ax.set_xlabel(\"x\")\n",
|
||
|
"ax.set_ylabel(\"y\")\n"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 25,
|
||
|
"id": "8479edd5",
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x288 with 0 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"#save\n",
|
||
|
"plt.savefig(\"output.png\")"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 67,
|
||
|
"id": "50f1ee13",
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAYoAAACXCAYAAAALQRzhAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAYhUlEQVR4nO3de5BU5bnv8e8zMIBRRASiyAijG0MVkTDIBIiJMmwugsLhnB08Gi/xEkN5gmZbgMFES+tQuWyjoNliaRAIuai4xUQtQwBvREwCxxlAuW12gEAYASETVGCDzDjP+aN7JjPQ3dPd092rV/fvUzVFd6931nq6gPWs93nftV5zd0REROIpCToAERHJb0oUIiKSkBKFiIgkpEQhIiIJKVGIiEhCHYMOIBt69uzp5eXlQYchIhIaNTU1f3P3XrG2FWSiKC8vp7q6OugwRERCw8x2x9sWaOnJzBaZ2QEz2xRnu5nZv5vZdjN7z8wuyXWMIiLFLugxisXA+ATbJwAXRX+mAk/kICZpQ83uQzz+5nZqdh9KaZuIhFOgpSd3f8vMyhM0mQz8wiO3j68xs7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A48AEYCDwNTMbeFKzCcBF0Z+pwBM5DbKdspUkACWJENBsKCkUbZ7JosuVPu3umS6yDgO2u/vO6HGWAJOBLS3aTAZ+EV3+dI2ZnWVmvd19X4ZjAbTegGSWZkNJLmXz/JXMJe+5wDtmtg5YBKzI0LrVfYA9Ld7XAsOTaNMHyHiiUD1ZskGzoSQXsn3
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x432 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"fig = plt.figure(figsize=(6,6))\n",
|
||
|
"ax = plt.subplot(aspect=1)\n",
|
||
|
"ax.plot(x,y,\".\",label=\"sin\") \n",
|
||
|
"ax.legend()\n",
|
||
|
"plt.xlabel(\"x\")\n",
|
||
|
"plt.ylabel(\"y\")\n",
|
||
|
"plt.text(0.3, 0.1, \"-> Mot\",family=\"cursive\",size=14)\n",
|
||
|
"plt.text(0.3, -0.5, \"-> Mot\",family=\"serif\",size = 14)\n",
|
||
|
"\n",
|
||
|
"plt.show()\n"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 70,
|
||
|
"id": "bc36a672",
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"ax1.axis?"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 73,
|
||
|
"id": "468401b9",
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAk4AAAEWCAYAAACQbBjyAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAeBUlEQVR4nO3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qeraDe1CT1dSiOpwSNADlydu98v6X5Jak6c/jTeNAHdEA+C79kxrqlKddlxHXmmbKBximmdyLQ7lsuLeIPH8R0AZE9SEHyqUtWBXRM6PjNHniljaJxaJE1ksnostx7tGkGO74CV3P0ZSc8ELgMlkBQErzcWdHxmTs8e2huoKrRD49Si3SfmitJMcHwHANnDYst8KXXjlPYTc0XC8R0AZAtB8HwpbeOUt0/MdUsZmkUAyJrWMPimoYjFljlS2sYpz5+Y66R2zSK5JwDojngYvFZvKOozjQ1Hqs03CIJnXGkbJyYtV8SbRXJPANA97baCDw8O6ORhlltmXWkap/gEpYzHcmmRewKA7iEMnm+laJzaTVDKdiyXFtM4AOic+HLL0eFIF+YbK+4jDJ4PpWicmKCsTbu1BUznAGBtkpZbRn1GGDzHStE4MUFZu9ZpHJknAFifdnmm0aFII9cMsBU8hwrbOMUnJOSZ1o+JHQCsT7vc0lv1hk4dIQieR4VsnK6WacLaMbEDgPVhuWXxFLJxYkLSWUzsACA9llsWWyEbJyYknZc0sSMwDgDLsdyy+ArZODEh6T4C4wCwEssti68QjVPS5INMU3dxHAo
|
||
|
"text/plain": [
|
||
|
"<Figure size 720x720 with 2 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"fig = plt.figure(figsize=(10,10))\n",
|
||
|
"\n",
|
||
|
"ax1 = fig.add_subplot(2,2,1,aspect=1)\n",
|
||
|
"ax2 = fig.add_subplot(2,2,2,aspect=1)\n",
|
||
|
"ax1.plot(x,y,\".\",label=\"sin\") \n",
|
||
|
"ax2.plot(x,x,\"o\",label=\"x\")\n",
|
||
|
"plt.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": null,
|
||
|
"id": "38a66026",
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"ax.label_outer"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"metadata": {
|
||
|
"kernelspec": {
|
||
|
"display_name": "Python 3 (ipykernel)",
|
||
|
"language": "python",
|
||
|
"name": "python3"
|
||
|
},
|
||
|
"language_info": {
|
||
|
"codemirror_mode": {
|
||
|
"name": "ipython",
|
||
|
"version": 3
|
||
|
},
|
||
|
"file_extension": ".py",
|
||
|
"mimetype": "text/x-python",
|
||
|
"name": "python",
|
||
|
"nbconvert_exporter": "python",
|
||
|
"pygments_lexer": "ipython3",
|
||
|
"version": "3.9.7"
|
||
|
}
|
||
|
},
|
||
|
"nbformat": 4,
|
||
|
"nbformat_minor": 5
|
||
|
}
|