Biomech-Sim-Toolbox 1
Toolbox for movement simulation and analysis
Loading...
Searching...
No Matches
Functions
setLegendBelowSubfigures.m File Reference

Function to position a legend centered below all subfigures. More...

Functions

function setLegendBelowSubfigures (in lgnd, in subFigSettings, in nCol)
 Function to position a legend centered below all subfigures.
 

Detailed Description

Function to position a legend centered below all subfigures.

Details: setLegendBelowSubfigures()

Author
Marlies Nitschke
Date
September, 2018

Function Documentation

◆ setLegendBelowSubfigures()

function setLegendBelowSubfigures ( in  lgnd,
in  subFigSettings,
in  nCol 
)

Function to position a legend centered below all subfigures.

The upper corner will be set 1.5 cm below the bottom of the lowest subfigures.

Parameters
lgndmatlab.graphics.illustration.Legend: Handle of the legend
subFigSettingsStruct: Containing the settings which were used to place the subfigures. It has to has the following fields: width, originRight, oneRight, originUp which are assumed to be given in centimeters.
nColDouble: Number of columns in the figure