Added cycle plotting functionality