diff --git a/offpele/topology/topology.py b/offpele/topology/topology.py index 84d6ae4a..834e9fa8 100644 --- a/offpele/topology/topology.py +++ b/offpele/topology/topology.py @@ -476,7 +476,8 @@ def plot(self): x = unit.Quantity(np.arange(0, np.pi, 0.1), unit=unit.radians) pyplot.plot(x, self.constant * (1 + self.prefactor - * np.cos(self.periodicity * x)), + * np.cos(self.periodicity * x + + self.phase)), 'r--') pyplot.show()