How to change x y and z axis range and zoom factor by moving scroll bar at different start positions?

We are developing streamtube using ploly python environment
We need to view streamtube at different start positions using scroll bar. When changing scroll bar the c y and z axis values and range not uniform
And also zooming not uniform. Sometimes zoom level high and zoom level low. Please guide us how to fix this issue. Thanks in advance