Created
June 19, 2017 13:13
-
-
Save genkuroki/516e1a87a44a3bac22125e9cff7d434c to your computer and use it in GitHub Desktop.
Julia/Plots Animation 1 in Julia.ipynb
This file contains hidden or 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": [ | |
{ | |
"metadata": { | |
"trusted": true | |
}, | |
"cell_type": "code", | |
"source": "using Plots, Iterators\npyplot()\nitr = repeatedly(()->rand(10), 20)\nanimate(itr, ylims=(0,1), c=:red, fps=5)", | |
"execution_count": 1, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": "\u001b[1m\u001b[34mINFO: Saved animation to C:\\home\\kuroki\\Dropbox\\Jupyter\\Julia\\tmp.gif\n\u001b[0m" | |
}, | |
{ | |
"data": { | |
"text/html": "<img src=\"tmp.gif?0.2378952842497164>\" />", | |
"text/plain": "Plots.AnimatedGif(\"C:\\\\home\\\\kuroki\\\\Dropbox\\\\Jupyter\\\\Julia\\\\tmp.gif\")" | |
}, | |
"execution_count": 1, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"collapsed": true, | |
"trusted": true | |
}, | |
"cell_type": "code", | |
"source": "", | |
"execution_count": null, | |
"outputs": [] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"name": "julia-0.5", | |
"display_name": "Julia 0.5.2", | |
"language": "julia" | |
}, | |
"language_info": { | |
"file_extension": ".jl", | |
"name": "julia", | |
"mimetype": "application/julia", | |
"version": "0.5.2" | |
}, | |
"gist": { | |
"id": "", | |
"data": { | |
"description": "Julia/Plots Animation 1 in Julia.ipynb", | |
"public": true | |
} | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment