Plot different kinds of Marginal Plots.
1. plot_marginal -r 1 type:=kde_fill method:=thumb density:=binned top:=box right:=violin;
2. plot_marginal -r 1 type:=scatter_with_lr top:=dist_fill right:=violin gap:=5 size:=40 rugs:=1 ;
3. plot_marginal -r 1 iy:=[Book1]Sheet1!(A,C) rugs:=1 template:="C:\Users\Documents\OriginLab\User Files\Marginal_new.otpu";
Please refer to the page for additional option switches when accessing the x-function from script
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Input | iy |
Input XYRange |
|
Specify the input data. |
| Main Layer | type |
Input int |
|
Specify the plot type for the main layer of the graph. Option List:
|
| Confidence Band | conf |
Input int |
|
When Main Layer is Scatter with Linear Regression (type=scatter_with_lr) , the option is available. You can specify whether to add two-side confidence band for the linear regression curves. Option List:
|
| Confidence Level | level |
Input double |
|
When Main Layer is Scatter with Linear Regression (type=scatter_with_lr) , the option is available. You can specify the confidence level for the confidence band. |
| Bandwidth Method | method |
Input int |
|
When Main Layer is Kernel Density Contour Fill or Kernel Density Contour Line (type=kde_fill or type=kde_line), the option is available. Specify the bandwidth calculation method of the 2D Kernel Density plot. Option List:
|
| Density Method | density |
Input int |
|
When Main Layer is Kernel Density Contour Fill or Kernel Density Contour Line (type=kde_fill or type=kde_line), the option is available. Specify a method to calculate the kernel density for defined XY grids. Option List:
|
| Number of Grid Points in X/Y | grid |
Input int |
|
Specify the number of equally spaced grid points for the density estimation. |
| Top Layer | top |
Input int |
|
Specify the plot type for the top layer of the graph. Option List:
|
| Right Layer | right |
Input int |
|
Specify the plot type for the right layer of the graph. Option List:
|
| Gap between Layers | gap |
Input double |
|
Adjust the gap between the top/right layer and main layer.
|
| Size of Marginal Layer (%) | size |
Input double |
|
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. |
| Show Rugs | rugs |
Input int |
|
Specify whether show the axis rugs for the main layer. The rugs will be added between the main and top/right layer. Option List:
|
| Graph Template | template |
Input int |
|
Specify the graph template for the plot. 0=...File:[Graph Template (*.otpu)] *.otpu |
| Density Estimation Data | om |
Output MatrixPage |
|
Density Estimation Data |
This X-Function supports to plot different kinds of Marginal Plots.
Please refer to Marginal Plots for more details.