I am not sure about the meaning of "without generating another plot window", but you can have a look at
- interacts : https://wiki.sagemath.org/interact http://doc.sagemath.org/html/en/prep/Quickstarts/Interact.html
- animations : https://wiki.sagemath.org/animate http://doc.sagemath.org/html/en/reference/plotting/sage/plot/animate.html