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
 All Forums
 Origin Forum
 Origin Forum
 Plotting rows vs column headers

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
emperial Posted - 03/30/2012 : 01:40:53 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
emperial Posted - 04/01/2012 : 02:34:24 AM
Thanks for the reply Hideo.
Hideo Fujii Posted - 03/30/2012 : 11:42:44 AM
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;

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000