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
 Plotting rows vs column headers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

emperial

USA
2 Posts

Posted - 03/30/2012 :  01:40:53 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. 6.0
Operating System: Win 7

Hello

I imported some data from a .ict file for particle count in different times(rows) and different sizes(columns). now I am trying to plot the distribution for a given time so I need to plot one row vs the column headers. column headers are like 1mm,2mm,3mm,... that's how they were imported. is there any way to do so? or do I need to import them in a different way?

Thanks

Hideo Fujii

USA
1582 Posts

Posted - 03/30/2012 :  11:42:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi emperial,

Origin 6.0 is too old, and I even don't have on my computer.
Anyway, I have tried with the current version (Origin 8.6), and show the screenshot below.
The procedure is as follows:

1) Extract One Row with Header: Using the Worksheet Query tool ("Worksheet: Worksheet Query" menu),
and extract a row with a specific time. (Book2)

2) Transpose: Using Transpose tool ("Worksheet: transpose" menu) on this one row worksheet
(with options to let the First Column go to the long name).

I think in your version, you need to do 1) manually; to do 2) by a script which you need
to create some script, or with some manual works, I suspect.



Hope this is helpful.

--Hideo Fujii
OriginLab

P.S. If you want to change the first column in Book3 above with "mm" to a numeric column, you can make a script like below:
nr=wks.maxRows;
range c1=col(1);
for(ii=1;ii<=nr; ii++) {
  str1$ = c1[$(ii)]$;
  pos = Search(str1$,"mm");
  c1[$(ii)]$=Left(str1$,pos-1)$;
}
c1.col.format=1;

Edited by - Hideo Fujii on 03/30/2012 2:25:24 PM
Go to Top of Page

emperial

USA
2 Posts

Posted - 04/01/2012 :  02:34:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for the reply Hideo.
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