SM (also known as "Supermongo") is an interactive plotting program written by Robert Lupton and Patricia Monger. SM has its own command language. It is possible to write macros. The plot is executed as a sequence of commands.
The SM code is particularly popular in the astrophysics community, possibly due to the creators' involvement with the Sloan Digital Sky Survey. SM is based on the Mongo plotting package developed in the early 1980s by John L. Tonry. Compared to Mongo, SM has a greatly enhanced command language, which includes algebraic manipulation of data vectors.