Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Drawing on Graphs > 9.3 Adjusting Graph Margins

9.3 Adjusting Graph Margins

As discussed previously, there are two main areas in an IMLPlus graph. The plot area displays the data; the graph area displays tick marks, axis labels, and titles. In Figure 9.15, the plot area is the white region and the graph area is the gray area. If you draw a legend that is positioned outside of the plot area, the DrawLegend module automatically increases the graph area margins in order to fit the legend. If you are drawing your own annotations outside of the plot area, you might need to increase the graph margins to make room for the annotations. You can also decrease the graph area margins to suit your preferences. This section describes how to set margins in a graph.

Both the plot area and the graph area contain margins. Plot area margins add space around the data display so that observations are separated from the edge of the plot area. Margins in the graph area add space outside of the plot area so that there is room for axes and titles. Figure 9.15 shows the default margins for a scatter plot. The margins are specified as a proportion of the height or width of the graph. For example, in Figure 9.15 the left margin of the graph area occupies 15% of the width of the graph and the top margin of the plot area occupies 5% of the height of the plot area.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint