Macros defined using an editor on a file may be up to characters. All of these varieties of DEFINE define variable name to have some value, but as variables can be defined in all sorts of ways there are a good many possibilities. Otherwise how would you know that there are macros to draw arrows on plots, do KS and Wilcoxon tests on vectors, and a host of other good things? Print each token as it is recognised along with its text. Load2 is similar, but it looks in directory macro2. Set axis label format exponential or floating.
Values flagged as bad in the table may be in the case of bintable , are set to SM’s invalid value, and this are not even equal to themselves. The uppercase forms of the keywords retain their usual meanings. The editor is described in detail in the SM manual; the main commands to remember are as follows: To quote the author Peter Teuben, teuben astro. The difference between double quotes and braces is that the latter have grammatical value; they are part of the syntax that SM understands. You’ll still get a box, but no ticks or labels. Please also send us any clever macros that you would like to share. Note that there is also a ternary operator, expr1?
The fact that variables are simply strings can be used to build complex commands; consider for example the macro readem read multiple lines columns with names in row plt READ ROW names 1. Lines starting with a are comments. The name of each vector is printed at the head of the appropriate column.
If the current device can handle dots i. ILABEL is 0 for no labels, 1 for labels parallel to axis, 2 for perpendicular to axis, and 3 for neither labels nor ticks. About project SlidePlayer Terms of Service. Usually the aspect ratio is calculated by SM to make characters look right and to make square points squarebut it is sometimes useful to override this, especially when positioning labels on graphs that will be plotted on printers of different aspect ratios.
The Art of SUPERMONGO A Beginners Primer By Martin Altmann ppt download
If you don’t want the search to begin again use TC supermojgo, e. Startup doesn’t have to check that macro was successfully defined as it must have been found for startup to have been read in the first place. If this has been done, changing the graphcap file for one of these ;lot will have no effect until it is recompiled, see section Compiling Graphcap for details.
Gauss evaluates a Gaussian, e. You can still use the uppercase form — you can’t overload that. The name of the graphcap file is given by the variable graphcap in the environment file. Some devices are not supported through stdgraph graphics drawn to a SunView window would be an examplebut they still appear in graphcap with a special entry DV giving the name of the suoermongo hard-coded device driver.
Thus device postscript foo.
By default only 80 lines are remembered, and as you continue typing earlier ones fall off the list. If you want to include a space in an argument, enclose it in quotes. This is an obvious candidate for overloading.
The Art of SUPERMONGO A Beginners Primer By Martin Altmann 17.11.2005.
Nowadays you’d simple read the column that you want to label the point with as a string e. Especially for hardcopy devices, you may have to specify which one you want, e. In general you will not be able to mix name- and column- orientated access for example, we do not support column orientated access to FITS binary tables unless you provide a format.
If a alphabetic name is followed by a space, the space is treated as simply delimiting the name and is discarded.
The macro echo is usually used as an abbreviation for this command. Newlines are allowed within macros, and as usual any text from a to the next newline is taken to be a comment. You can optionally supply a qualifier to the numbereither a. With expressions separated by commas the SET command is like a DO loop, setting name to be the values between expr1 and expr2at increments of expr3 which defaults to 1.
The SM Tutorial
Because they are intrinsically vector statements, so SM cannot simply evaluate the left hand side of the expression and, based on the result, decide to skip the right. For example, if I type: Vectors and points are truncated at the bounds of supermongl plot region.
Specifically, SAVE will save all your macros, variables, and vectors, along with your history buffer.
In addition, the help command 3r to a macro prints out its definition. Set the physical location of the plot. You can access entries in the environment file yourself, as described in the section on variables. Say I have a file named test.
You can compile selected entries in the graphcap file, so as superrmongo improve access time for popular terminals. Then the macro definition would look like this: VMS users should ensure that SM has been installed as a foreign command to take advantage of these capabilities.
This is control-space on many terminals. If you insist on using old-style labels which are still the defaulthere’s a quick summary.