Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "cells": [
- {
- "metadata": {
- "trusted": true
- },
- "cell_type": "code",
- "source": "using Plots; pyplot(legend=false)\nrw = [cumsum(randn(10^4)) for i in 1:3]\n@gif for θ in 0:3:357\n plot(rw[1], rw[2], rw[3], lw=0.3, size=(500, 500), camera=(θ, 40))\nend",
- "execution_count": 15,
- "outputs": [
- {
- "name": "stderr",
- "output_type": "stream",
- "text": "\u001b[1m\u001b[36mINFO: \u001b[39m\u001b[22m\u001b[36mSaved animation to C:\\Users\\genkuroki\\OneDrive\\Math4\\tmp.gif\n\u001b[39m"
- },
- {
- "data": {
- "text/html": "<img src=\"tmp.gif?0.8106548623195533>\" />",
- "text/plain": "Plots.AnimatedGif(\"C:\\\\Users\\\\genkuroki\\\\OneDrive\\\\Math4\\\\tmp.gif\")"
- },
- "execution_count": 15,
- "metadata": {},
- "output_type": "execute_result"
- }
- ]
- },
- {
- "metadata": {
- "trusted": true
- },
- "cell_type": "code",
- "source": "",
- "execution_count": null,
- "outputs": []
- }
- ],
- "metadata": {
- "kernelspec": {
- "name": "julia-pro-0.6-mkl",
- "display_name": "JuliaPro 0.6.2.1 MKL",
- "language": "julia"
- },
- "language_info": {
- "file_extension": ".jl",
- "name": "julia",
- "mimetype": "application/julia",
- "version": "0.6.2"
- },
- "toc": {
- "nav_menu": {},
- "number_sections": true,
- "sideBar": true,
- "skip_h1_title": false,
- "title_cell": "Table of Contents",
- "title_sidebar": "Contents",
- "toc_cell": false,
- "toc_position": {},
- "toc_section_display": true,
- "toc_window_display": false
- },
- "gist": {
- "id": "",
- "data": {
- "description": "rotating animation of a 3-dimensional random walk",
- "public": true
- }
- }
- },
- "nbformat": 4,
- "nbformat_minor": 2
- }
Add Comment
Please, Sign In to add comment