Command Only
:DISPlay:ATRaces:SCALe:AUTO
This command executes auto scale for all traces.
10 OUTPUT 717;":DISP:ATR:SCAL:AUTO"
:DISPlay:TRACe{Tr}:X:SCALe:AUTO
:DISPlay:TRACe{Tr}:Y:SCALe:AUTO
Auto Scale > All Traces OR
Right-click on the graph plot > Auto Scale All