Adjustable graph size

Is it possible to make the graph’s size adjustable? For instance, I have two graphs one on top of the other, and I’d like to manual move the border between them depends on what graph I’m focusing on.

Thanks