The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 How to create a complex marginal hist
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

adam314

USA
1 Posts

Posted - 01/07/2019 :  5:18:24 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

OriginPro 2018,
Windows 7, 64 bit.

Any help appreciated.
Adam


Edited by - adam314 on 01/07/2019 5:19:49 PM

Echo_Chu

China
Posts

Posted - 01/08/2019 :  12:55:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Please look at the tutorial for how to add more dataset in marginal histogram

https://www.originlab.com/doc/Tutorials/Marginal-Distribution-Curve

The difference of your requirement and the tutorial is that you don't need to convert histogram to be distribution curve as in the tutorial.

Echo
OriginLab Technical Support
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000