Track the beginnings of a script to plot in 3D.
This commit is contained in:
parent
a4498cd33d
commit
abe406d7aa
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
def cost(x, y):
|
||||
return 2*x**2 + 2*y**2 + 1
|
||||
|
||||
fig = plt.figure()
|
||||
ax = plt.axes(projection='3d')
|
||||
|
||||
Loading…
Reference in New Issue