SM, the plotting package by Patricia Monger and Robert Lupton runs on our Sun and HP platforms.
At the Kapteyn Institute we run version 2.4.1.
To start up SM just type 'sm' and by default a X window will open on which your results will be displayed. You can get help by typing 'help' on the SM command line.
For more help you can either read the tutorial or read the manual (more than 200 pages) which can be found in room 180. There also is a help document in the system manpages.
SM (sometimes also referred to as Super Mongo) is almost compatible with mongo. Old mongo macros can be converted to SM macros. Type "apropos mongo" on the SM command line or read the manual for more information. If you are used to Mongo then sm can be learned in less than a day.
At startup SM searches for a .sm file. If this file is not found in
your working or home directory SM will get it from /usr/local/lib/sm2_4_1/.sm
The user is advised to copy .sm from /usr/local/lib/sm2_4_1/.sm to his home
'cp /usr/local/lib/sm2_4_1/.sm $home/'
In /usr/local/lib/sm2_4_1/default there are some handy macros defining some devices used at the Kapteyn institute. These macros are automatically loaded when using the default .sm file (see keyword macro2 in .sm).
macros in /usr/local/lib/sm2_4_1/default:
|macro||sets device to|
|PS1||Postscript printer queue ps1|
|PS2||Postscript printer queue ps2|
|PS3||Postscript printer queue ps3|
|PS4||Postscript printer queue ps4|
|EPSF ||Encapsulated Postscript file |
|CPSPORT||Encapsulated Colour Postcript Portrait file |
|CPSLAND||Encapsulated Colour Postcript Landscape file |
The local contact person for SM is Kor G. Begeman , ZG 174 (tel: 4059)
You may also want to visit SM's real homepage .