Last active
May 31, 2017 15:37
-
-
Save ssugiyama/ee185ee6de94b91e088698791145c762 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"# Visualization of $(x+y\\mathrm{i})^\\mathrm{i}$" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"from matplotlib import pyplot as plt\n", | |
"from matplotlib import ticker\n", | |
"import numpy as np\n", | |
"import seaborn as sns\n", | |
"%matplotlib inline \n", | |
"\n", | |
"x = np.arange(-3, 3, 0.01)\n", | |
"y = np.arange(-3, 3, 0.01)\n", | |
"X, Y = np.meshgrid(x, y)\n", | |
"Z = (X+ Y*1j)**1j" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"## absolute values" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAATYAAAD7CAYAAADgvbh3AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFGtJREFUeJzt3X+sV/V9x/HnFRGCgd4bG0DpnayavY2Z60hIoEURF4w/\nsq7V6LowFZXaYGoiuhZEpQmJzri0qxiLNiKLWp2NWBrXpYXMaRt/1HaNW3Sm71kMc2MZbDeCWn8w\n9O6P77n45XLv98f5+Tmf83okJvd74XvOx7Y8+z7nc8+XgdHRUUREYnJM1QsQEcmbwiYi0VHYRCQ6\nCpuIREdhE5HoKGwiEp1j077RzKYA9wMGjAKr3f2VvBYmIpJWlont8wDuvgS4Fbg9lxWJSBTMbL2Z\nvWBmvzKzVW3fX2FmLxR57tRhc/cfAl9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LRHsCZbU/JQ\n7mPA19z9p1WvJxBvATPbXh9TZdRCNe4Rn0erXg+Au680s3XAi2Z2urv/tuo1VaWUS1EzW29mlycv\ng3gEy8xOp3VJscLdf1z1egLyHHAhHP4p8JerXU542h7xWdfLc4slrOfy5DFHgHeBj5J/GquUXVFa\nO0gPJpdgU4CrSjpvJ3fQuhm9ycwADrj7F6pdUhC2A+ea2fO07h+F8N9VaG6mtcO/wczG7rV1fMSn\nYD8A/sbMfkbr4fI1Fa4lCHqkSkSiox/QFZHoKGwiEh2FTUSio7CJSHQUNhGJjsImItFR2EQkOv8P\nWja6Umw+sgwAAAAASUVORK5CYII=\n", | |
"text/plain": [ | |
"<matplotlib.figure.Figure at 0x105cee908>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"plt.contourf(X,Y,np.abs(Z), locator=ticker.LogLocator(base=2))\n", | |
"formatter = ticker.LogFormatter(2, labelOnlyBase=False) \n", | |
"plt.colorbar(format=formatter)\n", | |
"plt.gca().set_aspect('equal')\n", | |
"plt.show()" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": {}, | |
"source": [ | |
"## angles" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"data": { | |
"image/png": "iVBORw0KGgoAAAANSUhEUgAAATAAAAD7CAYAAADto8gwAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAE69JREFUeJzt3X+wXGV9x/H3TYIJjSHK3KlkGIVeG7+BEWk71kCAip2i\nwKiAhf5IQWAiv6wtEBkEC6WdwaZUkB9VWo0XpdWoAxJkQFEHhh8mYNEOnVDL18Q7dJC5UAMS+ZVg\nSPrH7g2bZX+cPb+f53xeM3dmd8/e53l2z3k++5yzz54ztnPnTkREQjSr6gaIiKSlABORYCnARCRY\nCjARCZYCTESCpQATkWDNSfuPZjYbWA0YsBM4290fyathIiLDpA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bXPqpz2j/HvAJ9z9hhq055T2z3QAXgR2tP+iV8q3kLS+sbmxves0Gzi9pHoHWUXroPC1\nZgawxd2Pq7ZJtbAWOMrM1tM6vlOHdVU3n6T1jfqlZjZzLOwYd3+povbcAnzJzO4D9gDOq7AtpdJP\niUQkWJrIKiLBUoCJSLAUYCISLAWYiARLASYiwVKAiUiwFGAiEqz/B4U3+akoGhx5AAAAAElFTkSu\nQmCC\n", | |
"text/plain": [ | |
"<matplotlib.figure.Figure at 0x108a07f60>" | |
] | |
}, | |
"metadata": {}, | |
"output_type": "display_data" | |
} | |
], | |
"source": [ | |
"plt.contourf(X,Y,np.angle(Z))\n", | |
"plt.colorbar()\n", | |
"plt.gca().set_aspect('equal')\n", | |
"plt.show()" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"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.6.1" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment