The JSL example below uses Push Matrix and Pop Matrix to position pieces of the toy top and then return to the origin. This is faster than using the Translate command a second time in reverse.
Drawing With a Matrix Stack
where m is a 4x4 JMP matrix that is loaded onto the current matrix stack.
Similar is the Mult Matrix command
When the Mult Matrix command is issued, the matrix on the top of the current matrix stack is multiplied by m.
In the following rotation matrices, c = cos(angle) and s=sin(angle).