From 2d7c25e5aab25959f5304131c5fc95fd7d5abe7c Mon Sep 17 00:00:00 2001 From: Satoki TSUJINO Date: Tue, 2 Apr 2024 17:56:43 +0900 Subject: [PATCH] temporary commit. --- Lilly1966/OSE_solve.ipynb | 242 ++++++++++++++++++++++++++++++++++---- 1 file changed, 217 insertions(+), 25 deletions(-) diff --git a/Lilly1966/OSE_solve.ipynb b/Lilly1966/OSE_solve.ipynb index 36b858d..9adcb3e 100644 --- a/Lilly1966/OSE_solve.ipynb +++ b/Lilly1966/OSE_solve.ipynb @@ -74,7 +74,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "id": "7e7d6392", "metadata": {}, "outputs": [ @@ -619,26 +619,218 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 10, "id": "d6476cfa", "metadata": {}, "outputs": [ { "data": { - "text/plain": [ - "Figure(PyObject
)" + "image/svg+xml": [ + "\n", + "\n", + "\n", + " \n", + " \n", + " \n", + "\n", + "\n", + "\n", + " \n", + " \n", + " \n", + "\n", + "\n", + "\n", + " \n", + " \n", + " \n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "0.0\n", + "\n", + "\n", + "0.2\n", + "\n", + "\n", + "0.4\n", + "\n", + "\n", + "0.6\n", + "\n", + "\n", + "0.8\n", + "\n", + "\n", + "1.0\n", + "\n", + "\n", + "-1.00\n", + "\n", + "\n", + "-0.75\n", + "\n", + "\n", + "-0.50\n", + "\n", + "\n", + "-0.25\n", + "\n", + "\n", + "0.00\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "\n", + "y1\n", + "\n", + "\n" ] }, - "metadata": {}, - "output_type": "display_data" - }, - { - "data": { - "text/plain": [ - "Figure(PyObject
)" - ] - }, - "execution_count": 4, + "execution_count": 10, "metadata": {}, "output_type": "execute_result" } @@ -649,10 +841,10 @@ "# Plot #\n", "##########\n", "\n", - "using PyPlot\n", + "using Plots\n", "\n", - "rc(\"font\", family=\"IPAPGothic\")\n", - "fig = figure(\"pyplot_majorminor\",figsize=(7,5))\n", + "#rc(\"font\", family=\"IPAPGothic\")\n", + "#fig = figure(\"pyplot_majorminor\",figsize=(7,5))\n", "\n", "x = real.(Dcal[1:Ntot])\n", "y = imag.(Dcal[1:Ntot])\n", @@ -660,21 +852,21 @@ "#ax = gca()\n", "\n", "#cp = scatter(x,y)\n", - "scatter(x,y)\n", - "xlim(0.0,1.0)\n", - "ylim(-1.0,0.1)\n", + "scatter(x,y,xlim=(0.0,1.0),ylim=(-1.0,0.1))\n", + "#xlim(0.0,1.0)\n", + "#ylim(-1.0,0.1)\n", "\n", "#ax = gca()\n", "\n", - "xlabel(\"Real(λ)\")\n", - "ylabel(\"Imag(λ)\")\n", + "#xlabel(\"Real(λ)\")\n", + "#ylabel(\"Imag(λ)\")\n", "#if i == 1 #div(ne,2)-1\n", "# plt.colorbar(cp)\n", "#end\n", - "grid(\"on\")\n", + "#grid(\"on\")\n", "\n", - "fig.canvas.draw()\n", - "gcf() # Needed for IJulia to plot inline\n", + "#fig.canvas.draw()\n", + "#gcf() # Needed for IJulia to plot inline\n", "\n", "#ttext = \"OSE spectra: Re = $(Re), α = $(α)\"\n", "#title(ttext)\n",