hnblib.sm./home/user/sm/hnblib); this directory is named smdir in hnblib.sm.hnblib.sm: SM> define smdir "/home/user/sm/hnblib" SM> macro read "$!smdir/hnblib.sm" SM> hnbinit
where the quoted string in the first command is the path to your copy of hnblib.sm. If the third command produces output similar to the following, you are in business!
Welcome to HNBLIB! ------------------------------------------------------------- HNBLIB: SUPPORTED MACROS getfiles - Returns a list of files from which to read data getvars - Returns a list of variables to be plotted hnb - Make the default plot hnbhelp - Get help on any HNBLIB macro hnbinit - Read preferences and reset HNB variables hnbplot - Plot all columns from the current data file vs. column 1 hnbpref - Adjust user preferences hnbread - Read data from a specified HNB file hnbthin - Thin the data by plotting every Nth point hnbzoom - Adjust the limits on the x-axis multiplot - Plot multiple columns of data on one screen plot - Plot y versus x with default labels >>> type hnbhelp macroname for more information <<< -------------------------------------------------------------
hnblib.sm on SM startup, add the following line to the .sm file in your home directory: macro2 /home/user/sm/hnblib/
The second entry is the path to your hnblib directory (the same as smdir , above). Users who already have their own macro2/ directory and default file will need to manually add the contents of hnblib/default to their personal default file (and change the value of smdir appropriately).
1.3.6