You can also position the inset in one of the four margins surrounding the plot area using the margin keywords LM, RM, TM, or BM, as illustrated in FigureĀ 5.22.
Figure 5.22: Positioning Insets in the Margins
For an example of an inset placed in the right margin, see FigureĀ 5.19. Margin positions are recommended if a large number of statistics are listed in the INSET statement. If you attempt to display a lengthy inset in the interior of the plot, it is likely that the inset will collide with the data display.