Select two columns.
Select required data.
From the menu, select Plot > 2D: Histogram: Marginal Histograms.
Click the Marginal Histograms button on the 2D Graphs toolbar.
MARGINHIST.OTP (installed to the Origin program folder).
This graph is composed of three layers. One is a 2D scatter plot. A horizontal histogram represents the Y-dimension distribution of the scatter data. A vertical histogram represents the X-dimension distribution of the scatter data.