Put local x scale into graph config.
Make array of all graphs.
Make code somewhat more symmetric.
Make drawing code somewhat more symmetric.
Move x scaling code closer to where it's used.
Keep all draw commands together.
Eliminate explicit rescaling.