Set axis scale.
G50 <X..Z> <U..W> <I..K> <P>
Scale factor 2 around coordinate X10, Y10.
G51 X10 Y10 P2
Scale factor 1.5 in X direction and 2.5 in Y direction around coordinate X10, Y10.
G51 X10 Y10 I1.5 J2.5
G50