| Download
Python code for plotting the Bifurcation diagrams and the Lorenz Attractor System
Project: PHYS 205 - Long Group Project
Views: 851Image: ubuntu2004
Kernel: Python 3 (system-wide)
In [0]:
In [1]:
In [2]:
0.49999999999999994
In [3]:
/tmp/ipykernel_867/855675114.py:60: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "optimise" which is no longer supported as of 3.3 and will become an error in 3.6
plt.savefig('Bifurcation diagram 1', optimise = True)
In [0]:
In [4]:
Lorenz Attractor
In [5]:
/tmp/ipykernel_867/2615107455.py:23: MatplotlibDeprecationWarning: Calling gca() with keyword arguments was deprecated in Matplotlib 3.4. Starting two minor releases later, gca() will take no keyword arguments. The gca() function should only be used to get the current axes, or if no axes exist, create new axes with default keyword arguments. To create a new axes with non-default arguments, use plt.axes() or plt.subplot().
ax = fig.gca(projection = "3d")
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
-10.082547154719919 -10.940501794001996 27.937799912066097
-9.369114911169625 -9.491891821664353 27.9426526968698
Time to execute 1.5476746559143066 Seconds
/tmp/ipykernel_867/2615107455.py:51: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "optimise" which is no longer supported as of 3.3 and will become an error in 3.6
plt.savefig('xPositions.png', optimise = True)
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
/tmp/ipykernel_867/2615107455.py:62: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "optimise" which is no longer supported as of 3.3 and will become an error in 3.6
plt.savefig('yPositions.png', optimise = True)
No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
/tmp/ipykernel_867/2615107455.py:73: MatplotlibDeprecationWarning: savefig() got unexpected keyword argument "optimise" which is no longer supported as of 3.3 and will become an error in 3.6
plt.savefig('zPositions.png', optimise = True)
Runge-kutta method
In [6]:
Time to execute 1.6527690887451172 Seconds
In [0]: