How to connect points in python ax.scatter 3D plot

Viewed 11359

I have a 3D plot in python which I made using ax.scatter(x,y,z,c='r',s=100) from the

import matplotlib.pyplot as plt

import pylab

from mpl_toolkits.mplot3d import Axes3D.

I want to connect my points with a line. I know you can do it with marker='-o' but that works only in 2D for me and not 3D. Can anyone help ? Thank you.

1 Answers
Related