Track the beginnings of a script to plot in 3D.

This commit is contained in:
James Pace 2022-07-09 09:59:05 +00:00
parent a4498cd33d
commit abe406d7aa
1 changed files with 11 additions and 0 deletions

11
scripts/plot_cubic.py Normal file
View File

@ -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')