DADiSP Worksheet Functions > Function Categories > Window Sizing & Layout > SETALLWMARGIN
Sets the plotting margin for each Window of a Worksheet.
SETALLWMARGIN(margin, size)
margin |
- |
Optional. An integer, the margin to set:
|
||||||||||
size |
- |
Optional. A real, the size of the margin |
setallwmargin(1, 20)
sets the left plotting margin of each Window to 20% of the plotting area. The left axes of all the Windows of the Worksheet will line up.
setallwmargin(1, -1)
sets the left side plotting margin to the default.
size is specified in terms of percent of the plotting area of a Window, where 0 means no margin and 100 means full margin (i.e. no plotting area). If size is set to -1, then the margin is sized automatically.
SETALLWMARGIN can be used to ensure that the axes of all the Windows are aligned.
It is possible to set a margin so small that no scales appear or to set it so large that no plot appears. setallwmargin(-1, -1) restores the plotting margins to the default.