Better legend position when Fitting Layers to Page


Version: 2018b

Type: Features

Category: Graphing

Subcategory: Layer and Plot Management

Jira: ORG-17882


Add the option -L to the page -FLS command

page -FLS -L; //fit layers to page so as to leave room on the right side for the legend. No gap between layer and legend.
page -FLS -L 0.03 -m 0.04 //fit layers to page, with space (3% of page) btween layer and legend, margin on edge of page is 0.04.
To use the -L option, the following must be true:
  • Graph contains a single layer.

  • There is one (and only one) legend object.

  • Scale Elements (Format: Layer Properties > Display tab) must be Fixed Factor.