Iterated Graphing in For Loop via Python -


for k in range(10):         rtpi = (pratio / float(math.pi)) + x*0         plt.plot(x,rtpi,'r') 

this produces flat line. how can this:

for k in range(10):         rtpi = (pratio / float(math.pi)) + x*0         plt.scatter(x,rtpi,'r') 

basically, every individual point, 1 point represented on graph per 1 point on x-axis.

if understand question correctly, this suggests should use plt.plot , add "o"

for k in range(10):     rtpi = (pratio / float(math.pi)) + x*0     plt.plot(x,rtpi,'ro') 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -