Draw the x-axis on the top

By default, the x-axis is drawn at the bottom end of the y-axis. The GRAPH\XONTOP command draws the x-axis on the top. For example the following commands produce the figure below.

 X = [1:100]
 GRAPH\XONTOP X SIN(X/20)
 

  Draw the y-axis on the right
  Replot data on a common scale