I want to connect the plotted data points.
plt.plot(us, mu, 'ro', us, ru, 'go')
plt.show()
I want to connect the plotted data points.
plt.plot(us, mu, 'ro', us, ru, 'go')
plt.show()
According to the pyplot documentation you can try this.
# adding dotted line between points
plt.plot(us, mu, 'r:o', us, ru, 'g:o')
plt.show()