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
from mpl_toolkits.mplot3d import Axes3D | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
from IPython.display import HTML | |
import numpy as np | |
def init(): | |
ax.set_xlim(-2.1,2.1) | |
ax.set_ylim(-2.1,2.1) | |
ax.set_zlim(-2.1,2.1) |
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
%matplotlib inline | |
from mpl_toolkits.mplot3d import Axes3D | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
from IPython.display import HTML | |
import numpy as np | |
fig = plt.figure(figsize=(5,5)) | |
ax = fig.gca(projection='3d') |
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
%matplotlib inline | |
from mpl_toolkits.mplot3d import Axes3D | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
from IPython.display import HTML | |
import numpy as np | |
fig = plt.figure(figsize=(7,7)) | |
ax = fig.gca(projection='3d') |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
from IPython.display import HTML | |
def init(): | |
ax.set_ylim(-1.1, 1.1) | |
ax.set_xlim(0, 10) | |
del xdata[:] | |
del ydata[:] |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
from matplotlib.patches import Circle | |
from mpl_toolkits.mplot3d import Axes3D | |
import mpl_toolkits.mplot3d.art3d as art3d | |
fig = plt.figure(figsize=(5,5),dpi=120) | |
ax = fig.add_subplot(111, projection='3d') | |
ax.set_box_aspect((1,1,1)) |
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
%matplotlib inline | |
from mpl_toolkits.mplot3d import Axes3D | |
import mpl_toolkits.mplot3d.art3d as art3d | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.patches import Circle | |
fig=plt.figure(figsize=(6,6)) | |
ax = fig.gca(projection='3d') |
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
from mpl_toolkits.mplot3d import Axes3D | |
import mpl_toolkits.mplot3d.art3d as art3d | |
import matplotlib.pyplot as plt | |
import numpy as np | |
from matplotlib.patches import Circle | |
fig=plt.figure(figsize=(6,6),dpi=150) | |
ax = fig.gca(projection='3d') | |
z = np.linspace(0, 10, 100) |
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
%matplotlib inline | |
from matplotlib import cm | |
from mpl_toolkits.mplot3d import Axes3D | |
import matplotlib.pyplot as plt | |
import numpy as np | |
fig = plt.figure(figsize=(5,5)) | |
ax = fig.add_subplot(111, projection='3d') | |
theta = np.linspace(0, 2*np.pi, 100) |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
from IPython.display import HTML | |
from scipy.stats import norm | |
fig, ax = plt.subplots() | |
def update(num,x,y,locs,lines): | |
if len(lines) > 0: |
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
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.animation as animation | |
from IPython.display import HTML | |
from scipy.stats import norm | |
fig, ax = plt.subplots() | |
def update(num,x,y,scales,lines): | |
if len(lines) > 0: |