I'm a beginner with OriginLab and am trying to recreate a plot that I produced in Matlab.
I'd like to create a scatter plot showing two different sets of data along the same x and y axes. One dataset will use square markers and the other will use triangles (the shape choice doesn't matter). I then want to add marginal histograms to both axes that show the overall distribution of both datasets combined. Some of the data are statistically significant and I'd like to shade in parts of the marginal histograms to show the underlying distribution of significant data across the combined dataset. I'll eventually add confidence intervals, too.
The matlab plot is attached (position of the histograms and other details are irrelevant).
I figured out how to make a single scatter plot with marginal histograms but where I'm stuck is adding the 2nd set of data with different markers to the scatter plot while the marginal histograms show the overall distributions.