Guest User

Untitled

a guest
Feb 18th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. {
  2. "cells": [
  3. {
  4. "metadata": {
  5. "trusted": true
  6. },
  7. "cell_type": "code",
  8. "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",
  9. "execution_count": 15,
  10. "outputs": [
  11. {
  12. "name": "stderr",
  13. "output_type": "stream",
  14. "text": "\u001b[1m\u001b[36mINFO: \u001b[39m\u001b[22m\u001b[36mSaved animation to C:\\Users\\genkuroki\\OneDrive\\Math4\\tmp.gif\n\u001b[39m"
  15. },
  16. {
  17. "data": {
  18. "text/html": "<img src=\"tmp.gif?0.8106548623195533>\" />",
  19. "text/plain": "Plots.AnimatedGif(\"C:\\\\Users\\\\genkuroki\\\\OneDrive\\\\Math4\\\\tmp.gif\")"
  20. },
  21. "execution_count": 15,
  22. "metadata": {},
  23. "output_type": "execute_result"
  24. }
  25. ]
  26. },
  27. {
  28. "metadata": {
  29. "trusted": true
  30. },
  31. "cell_type": "code",
  32. "source": "",
  33. "execution_count": null,
  34. "outputs": []
  35. }
  36. ],
  37. "metadata": {
  38. "kernelspec": {
  39. "name": "julia-pro-0.6-mkl",
  40. "display_name": "JuliaPro 0.6.2.1 MKL",
  41. "language": "julia"
  42. },
  43. "language_info": {
  44. "file_extension": ".jl",
  45. "name": "julia",
  46. "mimetype": "application/julia",
  47. "version": "0.6.2"
  48. },
  49. "toc": {
  50. "nav_menu": {},
  51. "number_sections": true,
  52. "sideBar": true,
  53. "skip_h1_title": false,
  54. "title_cell": "Table of Contents",
  55. "title_sidebar": "Contents",
  56. "toc_cell": false,
  57. "toc_position": {},
  58. "toc_section_display": true,
  59. "toc_window_display": false
  60. },
  61. "gist": {
  62. "id": "",
  63. "data": {
  64. "description": "rotating animation of a 3-dimensional random walk",
  65. "public": true
  66. }
  67. }
  68. },
  69. "nbformat": 4,
  70. "nbformat_minor": 2
  71. }
Add Comment
Please, Sign In to add comment