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
 Histogram with percentages

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
jd.vangool Posted - 10/09/2001 : 09:48:43 AM
Hi,

I love the Origin 6.1 histograms, but I find it limited:

I need to plot the percentages (of the total count) per bin.

Any advice?

Thanks in advance

Marcel

Edited by - jd.vangool on 10/09/2001 09:49:43
2   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 10/09/2001 : 12:34:39 PM
There is probably a built-in way to do that, but it's also easy to do manually. Bring up the worksheet containing the bin counts and enter the following commands in the script window. (If the column with the bin counts is not named B, then substitute its correct name in the col() expressions first.)...
wo -c Percents; // add a column called Percents
sum(col(B)); total=sum.total; // get the total count
col(Percents)=100*col(B)/total;

The percentages are now in the Percents column and you can plot them any way you like.

Mike Buess
Origin WebRing Member
scottp Posted - 10/09/2001 : 12:15:07 PM
Once you have created the Histogram, you can then Right-Click on one of the red Columns. Select Go To Bin Worksheet. The last column of this worksheet contains percentages (of the total count) per bin as a running total ending with 100% when all bins are accounted for. You can then highlight this column and plot the data as a line or Column plot.

If you need another variation on the data you now have the all of the raw bin information available in numeric format.

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