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 average and standard deviation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

sombrancelha

Brazil
Posts

Posted - 05/16/2007 :  7:39:32 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version : 7.5
Operating System: Windows XP

Hello,

I'm new to Origin, so maybe my doubt is very simple.
Anyway, I've got my histogram, but I want it to show where the average of the all the data is (by a vertical line) and show also the standard deviation, with a horizontal "small line" (sorry, I don't know the word in english for something like this ----).
It should look like this:

larry_lan

China
Posts

Posted - 05/16/2007 :  10:04:11 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi:

Histogram in Origin have no such option, so you should create the "mean line" by yourself. My idea is creating two graphs and merge them. Such as, in the following example I will plot the histogram for column A:



1. Plot a histogram.
2. Calculate the Mean and SD (Statistics : Descriptive Statistics : Statistics on Column).
3. Add several columns and copy the Mean, SD value to column B, D, and enter a proper Y value on column C (the Y position you want to show the error bar on histogram).
4. Set column B as X, column D as X Error.
5. Highlight column BCD and create scatter plot. Plot the Vertical Drop line for the point.
6. Merge the histogram and scatter plot (See The Graph: Customizing > Merging and Extracting Graphs > Merging Graph Windows in Origin Help). In the dialog, set Number of Column and Number of Row as 1.
7. In the new graph, link Layer2 to Layer1 (See The Graph: Layers > Linking Layers and The Graph: Layers > Linking Layers > Linking Axes Scales of Origin Help)

Hope it helps!

Larry
OriginLab Technical

Edited by - larry_lan on 05/16/2007 10:10:29 PM
Go to Top of Page

sombrancelha

Brazil
Posts

Posted - 05/18/2007 :  10:51:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi

Thanks for the reply.

I had some problems in merging the graphs and linking the layers. Could you please explain it a bit more detailed?

Thanks
Go to Top of Page

larry_lan

China
Posts

Posted - 05/20/2007 :  10:20:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
To merge two graphs, select Edit : Merge All Graph Windows from menu. Then set Number of Column and Number of Row as 1.

To link layer2 to layer 1, double click the graph to bring up the Plot Detail dialog, select Layer2 on the left panel, and select Link Axes Scales tab. Choose Layer1 on the Link to drop-down list, and select Stright (1 to 1) on the X Axis Link and Y Axis Link box.

Any more questions, please provide what's the exact problem you met.

Thanks

Larry
OriginLab Technical Services
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