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

thentangler

USA
Posts

Posted - 08/17/2010 :  12:03:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 8.1 and Service Release: 3
Operating System: Win 7

Hi guys,
How do I add error bars to multiple graphs?
I have plotted multiple graphs from multiple worksheets from a workbook.
I then plotted an average plot of all those plots. How do I add error bars from already plotted graphs?
The method described in the help file says to select the multiple Y columns and choose statistics on rows to create mean and Yerr columns. But my data are among multiple sheets, and it doesnt allow me to select rows across multiple sheets, it only allows to select rows in one particular sheet at a time.
Is there a way to do that. If not Id have to copy and paste each Y column from around 30 sheets to a single worksheet.
Please help
Thanks

DataConv

Germany
60 Posts

Posted - 08/17/2010 :  01:58:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,
You don't have to copy and paste the datasets. Create a new worksheet as temporary workspace for the data to process and display (of course your workfile might get huge - but that's the price). In the new worksheet you mark a column and open the 'Set value' dialogue (as for calculation). Then in the upper menu of this dialog you find 'variables' and in that the point 'insert range variable'. Now a browser opens and you can select the column of the sheet you are interested in. After the selection, in the script part of the 'Set value' dialogue should be something like
r1 = range ...
. Simply type the 'r1' in the calculation window. On 'Apply' or 'Ok' you now have a copy of the column in the new sheet. Changes in your original data will be regarded depending on the option 'automatically' or 'manual' recalculation mode...
I would advice to use the <Ctrl><Q> key combination to open this dialogue. Faster than clicking around...

Edited by - DataConv on 08/17/2010 02:01:38 AM
Go to Top of Page

thentangler

USA
Posts

Posted - 08/17/2010 :  03:32:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi DataConv,
Thank you so much for the reply. I did not know this was also a way.
But I can only select one column from each sheet. So I still have to create columns and open the dialog box. So if I have 30 columns I have to keep clicking on create columns etc...
Is there a way I can first create 30 columns in the temp worksheet and then choose columns from multiple sheets in the script dialog box?

Right now im using a Labtalk script to pick and place columns from each worksheet into the temp worksheet using the same range method.
But i have to keep renaming the worksheet like S1,S2,S3 etc, since im using a for loop and I need a number to index the sheet. As a result i lose the original name of the sheet which describes the data set.
ANy help would be appreciated.
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