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
 All Forums
 Origin Forum
 Origin Forum
 How to create a complex marginal hist

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
adam314 Posted - 01/07/2019 : 5:18:24 PM
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

1   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 01/08/2019 : 12:55:17 AM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000