Command
:DISPlay:WINDow<Ch>:TRACe<Tr>:Y[:SCALe]:AUTO
This command executes the auto scale function. The Auto Scale function automatically adjusts the value of the reference division line and the scale per division to display the trace appropriately.
Ana.WriteString ":DISPl:WIND:TRAC:Y:AUTO", True
Scale > Auto Scale
SCPI.DISPLAY.WINDOW(Ch).TRACE(Tr).Y.SCALE.AUTO