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
 Use text as a variable for categorical plot

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
szailer Posted - 06/23/2010 : 4:10:23 PM
Origin Ver. and Service Release (Select Help-->About Origin): 8.0
Operating System: Win XP

Hi,

Could anybody help me with this:
I have several files with data like below.
Compound m/m% StdErr | El Weight% StdErr
------ -------- ------- | -- -------- -------
Al2O3 73.20 0.22 | Al 38.74 0.12
SiO2 14.80 0.18 | Si 6.92 0.08
MgO 5.85 0.12 | Mg 3.53 0.07
P2O5 2.76 0.08 | Px 1.20 0.04
SO3 1.15 0.05 | Sx 0.460
0.021

I'd like to plot Al2O3 values (and all others) from each file but sometimes it is not in the first line and sometime it's missing, so sorting does not help. In other words I would like that Origin would recognize my X column names as categorical values and plot them as a group.

I was thinking to assign a numerical value to each compound then plot the values in a bar chart and then change the X-axis label to categorical but I hope there a better way to do this.

Thanks

Tamas Szailer
2   L A T E S T    R E P L I E S    (Newest First)
szailer Posted - 06/24/2010 : 4:26:12 PM
I found a bug.

Most files contain Na as an element, but one of them does not. It has Ni. So instead of showing zero value at Na where Na is not there, it plots Ni. I think because it starts with the same letter and the look-up algorithm does not look at the second letter to match the categories. Can you look into this?

Very simple example:
Book 1:
Mg 10
Na 20

Book 2:
Mg 30
Ni 50

Set both Xs as categorical and it will plot Ni as Na.

Tamas Szailer
VincentLiu Posted - 06/24/2010 : 02:56:00 AM
Do you mean you want to set the 1st columns as categorical data? If yes, you just need to select the column and right click on it to select "Set as Categorical" from the context menu. If not, could you send your data files to us and tell us more details about it through

http://www.originlab.com/www/company/qform.aspx?s=1&

OriginLab Technical Services

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