def create_plot():
    fig = plt.figure()
    ax = fig.add_subplot(111, projection='3d')
    ax.set_xlabel('x axis')
    ax.set_ylabel('y axis')
    ax.set_zlabel('z axis')
    ax.set_autoscale_on(False)
    return fig, ax


def update_plot(X, Y, Z, X1, Y1, Z1, fig, ax):
    X = np.reshape(X, (1, 7))
