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
 I can't stack columns
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

iphark

12 Posts

Posted - 02/11/2014 :  05:48:45 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): Origin 8.50G SR1
Operating System:Win7

Hello,

I did an electrolysis for an hour and instead of measuring just the hour I measured every minute giving me 60 columns for each parameter. Now I'd like to stack the columns in order to draw a graph of the whole experiment. And it should be easy. Worksheet menu - stacking columns. Well, I can split columns but there is no option to stack them.
Can someone help me?

greetings
iphark

Edit: Ok, I just saw I'd need SR2 in order to stack columns. Now, as I am completely new to Origin - does that mean I just need to update or is it upgrading?

Edited by - iphark on 02/11/2014 05:51:43 AM

zahraa

USA
52 Posts

Posted - 02/11/2014 :  12:28:03 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Benjamin,
For information on how to patch to the latest SR please visit this page: and specify your version information in the designated dropdown:
http://originlab.com/index.aspx?go=Support/ServiceReleases

However stacking columns is enabled from Origin 8.0 SR6 onwards so you should be able to do so in 8.5 SR1. This tutorial on on stack columns might help you:
http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Stack_Column_and_Bar_Charts_of_Rechargeable_Battery_Statistics

If you are still having trouble, you can send your data with details of your desired representation style to tech@originlab.com


Originlab Technical Representative

Edited by - zahraa on 02/11/2014 1:10:43 PM
Go to Top of Page

lkb0221

China
497 Posts

Posted - 02/11/2014 :  3:22:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Do you mean your data is all in the same row? with 60*60=3600 columns?

Zheng

Edited by - lkb0221 on 02/11/2014 5:08:03 PM
Go to Top of Page

iphark

12 Posts

Posted - 02/20/2014 :  01:05:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I'm sorry, I have been in vacation for the last week so I could not answer. I may not have been clear enough as english is only my second language.
I am not trying to create a "stacked bar graph". I am not trying to make a graph in the beginning.

I have 60 columns. Each of those columns has 24000 rows. Lets call the columns 1, 2, 3 ... 60. What I would like to have is just one column, containing the values of those 60 columns on top of each other, like this:
1
2
3
4
5
6

But thank you for the time you took to answer me!
Go to Top of Page

lkb0221

China
497 Posts

Posted - 02/20/2014 :  10:12:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,
Please try the following script.

//Start
//Assume your 60 columns are in the first sheet of that workbook.
int size = 24000; // The number of rows in each column
int colnum = 60; // The number of columns
%Z = %H; // Remember the source book name
string nbk$;
newbook result:=nbk$; // Create a new book for result
loop(ii,1,colnum) // Looping over all columns
{
range rr1 = [%Z]1!col($(ii))[1:$(size)];
range rr2 = [nbk$]1!col(2)[$(1+size*(ii-1)):$(size*ii)];
rr2 = rr1;
}
//End

Besides, "Stack Columns" tool is added in Origin 8.5.1.
We highly recommend you to try our newest leased version Orign9.1, which is much more powerful than 8.5
http://www.originlab.com/index.aspx?go=DOWNLOADS/OriginEvaluation

Zheng
OriginLab
Go to Top of Page

iphark

12 Posts

Posted - 02/28/2014 :  01:13:59 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you for your help, I solved the problem by changing the experiment, now I get all my data in one column. But thank you anyway!!
Go to Top of Page

baliwebdesign

Indonesia
1 Posts

Posted - 03/06/2014 :  1:40:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe you need an SR2 for ordering your column


Go to Top of Page

donzeek

USA
1 Posts

Posted - 03/20/2014 :  7:09:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by zahraa

Hi Benjamin,
For information on how to patch to the latest SR please visit this page: and specify your version information in the designated dropdown:
http://originlab.com/index.aspx?go=Support/ServiceReleases

However stacking columns is enabled from Origin 8.0 SR6 onwards so you should be able to do so in 8.5 SR1. This tutorial on on stack columns might help you:
http://wiki.originlab.com/~originla/howto/index.php?title=Tutorial:Stack_Column_and_Bar_Charts_of_Rechargeable_Battery_Statistics

If you are still having trouble, you can send your data with details of your desired representation style to tech@originlab.com


Originlab Technical Representative



I had the almost the same problem as him. After spending hours of reading, i was able to fix it. Thanks
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