#!/usr/bin/python

import numpy as np
import matplotlib.pyplot as plt

data = np.loadtxt("randomWalk.dat")
time = data[:,0]
posx = data[:,1]

fig, ax = plt.subplots()

ax.set_xlabel("$t$")
ax.set_ylabel("$x$")

ax.plot(time, posx, 'o-')

plt.show()


08f83e5f530fd96b2dec520061702b85789d69b2
<mask token>

<mask token>
ax.set_xlabel('$t$')
ax.set_ylabel('$x$')
ax.plot(time, posx, 'o-')
plt.show()

<mask token>
data = np.loadtxt('randomWalk.dat')
time = data[:, 0]
posx = data[:, 1]
fig, ax = plt.subplots()
ax.set_xlabel('$t$')
ax.set_ylabel('$x$')
ax.plot(time, posx, 'o-')
plt.show()

import numpy as np
import matplotlib.pyplot as plt
data = np.loadtxt('randomWalk.dat')
time = data[:, 0]
posx = data[:, 1]
fig, ax = plt.subplots()
ax.set_xlabel('$t$')
ax.set_ylabel('$x$')
ax.plot(time, posx, 'o-')
plt.show()

#!/usr/bin/python

import numpy as np
import matplotlib.pyplot as plt

data = np.loadtxt("randomWalk.dat")
time = data[:,0]
posx = data[:,1]

fig, ax = plt.subplots()

ax.set_xlabel("$t$")
ax.set_ylabel("$x$")

ax.plot(time, posx, 'o-')

plt.show()

