Hi happy student,
If I understand your question correctly, you'd like to programmatically change the scaling of your graph.
If this is indeed what you're planning to do, there is an easy solution to this. You can use a Property node for the graph, which you can create by right-clicking the graph terminal on your block diagram and selecting 'Property node' from the Create menu. With this property node, you can programmatically change the features for your graph, including the scaling. Just play a bit with it, it's extremely versatile.
Best,
Joost van Mameren