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
 Histogram with percentages
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jd.vangool

Netherlands
1 Posts

Posted - 10/09/2001 :  09:48:43 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

scottp

USA
60 Posts

Posted - 10/09/2001 :  12:15:07 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 10/09/2001 :  12:34:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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