Adjust the layout

Adjust the space around the axes when a label is long, the panels are crowded, or the legend is outside the plot.

Open Plot layout

Select the plot. In Plot layout, press Show controls. Check the identity shown in the inspector. Automatic uses automatic margins and disables the manual fields.

Plot layout with Automatic selected and the manual controls disabled.
Plot layout with Automatic selected and the manual controls disabled.
Left, Right, Top and Bottom [%]
Set a margin from 0 to 30 percent for each side of the plot. Turn off Automatic and use the slider or enter the value in the corresponding field.
Panel gap [%]
Sets the gap between stacked panels from 0 to 25%. It applies to plots with multiple panels.
Y-label offset [%]
Set the spacing between the Y label and the panel. Use Allow negative Y-label offset to extend the range from −30 to 30%. With the box cleared, the minimum is 0.

Use Apply and rerender to apply the percentages and update the image. Check the axes, panels, and external legend together. Restore automatic resets the settings in the panel. Use Apply and rerender to generate the PNG with that layout. A nonnumeric value prevents the settings from being applied. An out-of-range number is clamped to the control’s range. Close with Hide controls or from the inspector window.

If the renderer reports “automatic font and legend bands do not fit,” reduce the text or legend size or increase the resolution in Graphics…. For the dual-axis plot, 2000 × 1200 output with font sizes of 11, 13, and 15 made rerendering possible.