The points on my graph are too tightly packed and I would like to spread them out but still follow the same pattern. I tried to use a step plot but it did not make any difference (see code below).
[...]
x = data1[:,0]
y = data1[:,1]
plt.figure(1)
plt.plot(x, y,'b.')
plt.title('normal plot')
plt.xlabel('x')
plt.ylabel('y')
plt.figure(2)
plt.step(x,y,'g.')
plt.title('plot with spread out points')
plt.xlabel('x')
plt.ylabel('y')
What am I missing in my code?
