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
 Generate a histogram with 2 parameters

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
org_Ingo Posted - 02/02/2010 : 12:03:41 PM
Origin Ver.: 8.0 SR4
Operating System: Win Vista

Hi all,

is it possible to generate a histogram with 2 parameters and plot it as stack columns? For instance: one parameter is time and second parameter is binary (ON or OFF). The histogram should plot columns for each bin. Each column hight should correspond to the number of events in a bin and each column should also give the number of events which were ON and OFF, i.e.
X Y1(ON) Y2(OFF)
0-10 2 1
10-20 3 2
20-30 1 3

Thanks in advance!
Ingo
1   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 02/02/2010 : 12:55:44 PM
Hi Ingo,

So basically you want to perform frequency count using a 2nd grouping variable....the current frequency count tool does not support grouping, but you can do this with the 2D Frequency Count/Binning tool under Statistics->Descriptive Statistics menu. In the picture below the On/Off data was set up as 0 and 1 and then bin centers were used in the dialog to set centers to be 0 and 1 for the on/off. Then once you get the output sheet with counts you can make column plots from it.

Easwar
OriginLab


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