Code: Select all
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
x=[2]
y=[2]
z=[6]
fig=plt.figure()
ax=plt.subplot(projection='3d')
ax.scatter(x,y,color=('r'))
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.set_zlabel('z')
Code: Select all
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
x=[2]
y=[2]
z=[6]
fig=plt.figure()
ax=plt.subplot(projection='3d')
ax.scatter(x,y,color=('r'))
ax.set_xlabel('x')
ax.set_ylabel('y')
ax.set_zlabel('z')