Marginal-Plot
Origin provides a X-Function plot_marginal to plot different kinds of Marginal Plots. With this X-Function, you can customize all three layers for the marginal plots:
For the main layer, you can choose one of four supported plot types for it:
For the top layer, you can choose one of 7 supported plot types for it:
For the right layer, you can decide whether to follow the setting of top layer or choose one of 7 supported plot types for it separately:
Adjust the gap between the top/right layer and main layer. For the top layer, the gap with main layer is the percentage of the height of main layer; For the right layer, the gap with main layer if the percentage of the width of main layer.
Adjust the size of the top and right layer. For the top and right layer, as the layer width is linked with the width and height of main layer, you are only allowed to adjust the height of the layer in the percentage of the height and width of the main layer.
Specify whether show the axis rugs for the main layer. The rugs will be added between the main and top/right layer.