creates an offset amount for created graph in z