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.

  • Starting up
  • 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.

  • Mongo ???
  • 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.

  • Setting up your own environment
  • 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 directory,

    	'cp /usr/local/lib/sm2_4_1/.sm $home/'

    and edit the contents.

    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:
    macrosets device to
    XX terminal
    PS1Postscript printer queue ps1
    PS2Postscript printer queue ps2
    PS3Postscript printer queue ps3
    PS4Postscript printer queue ps4
    EPSF Encapsulated Postscript file
    CPSPORTEncapsulated Colour Postcript Portrait file
    CPSLANDEncapsulated Colour Postcript Landscape file

  • Local contact person
  • The local contact person for SM is Kor G. Begeman , ZG 174 (tel: 4059)

    You may also want to visit SM's real homepage .