Author |
Topic |
|
Mathias List
Germany
3 Posts |
Posted - 01/22/2015 : 10:13:23 AM
|
Hello to everyone(my first post in your forum), I hope to lern from your experiance. To my first question: I can't acess the the (Column Properties)Categories Tab like showed in that link http://www.originlab.com/doc/Origin-Help/ColProperties-Dialog-Categories-Tab
I set a column to cathegorical, but menue does not show up. Do i have the wrong origin version?
regards Mathias
Origin Ver. and Service Release: rigin Version 9.1.0OG (64bit) Sr2 Operating System: Windows 7 enterprise |
Edited by - Mathias List on 01/22/2015 10:17:58 AM |
|
snowli
USA
1386 Posts |
Posted - 01/22/2015 : 10:49:29 AM
|
Hi Mathias,
This is a new feature in Origin 2015.
In old versions, you can only use appearance order or alphabetical order, which are controlled by a system variable. @cats 0 = appearance order 1 - alphabetical ascending order
Thanks, Snow |
Edited by - snowli on 01/22/2015 10:50:53 AM |
|
|
Mathias List
Germany
3 Posts |
Posted - 01/22/2015 : 11:17:15 AM
|
thanks a lot.
|
|
|
Mathias List
Germany
3 Posts |
Posted - 01/22/2015 : 11:35:04 AM
|
Otwo more question on that topic. First: I'm trying to plot cathegorical data from diffrent worksheets in one plot using the same categories. But this is not working straight out of the box, since every plot has its one categorical map. I suppose I could manipulate the categories in that tab, which is not existing in my version. Is there a other way to do it? I did it by adding a extra colum and adding integers corrosponding to the categories, but this is a real basic workarround. is there a better way in origin 9.5 ore do i have to upgrade to the new version.
second: Is there a way to add the same categorical map to diffrent categorical data in origin C (like in that menue tab)? If yes, what version do i need?
|
|
|
snowli
USA
1386 Posts |
Posted - 01/22/2015 : 12:04:12 PM
|
Hello,
In Origin 2015, it's very easy for multiple columns to have same categories.
After setting a column as categorical, a column label row called Categories will show. You can customize the categiries in the dialog you mentioned in previous post. Right click the Categories cell of that column and choose Copy.
Then go to other columns that are set as categorical. Select its Categories cell and paste. Same Categories will be applied to it, even if some categories don't exist in the new column.
You can look at the release notes of Categorical value improvements we made in Origin 2015 here https://originlab.jira.com/wiki/x/rwD1Ag
Thanks, Snow |
Edited by - snowli on 01/22/2015 12:05:11 PM |
|
|
woodpecker
Germany
5 Posts |
Posted - 06/22/2015 : 08:14:33 AM
|
Hello everbody,
I am also trying to use the new categorical function in Origin 2015. However, I am trying to automatize the process of categorizing data by writing my own funciton in OriginC script.
Like Mathias I am trying to plot categorical data from different worksheets on the same graph. I can categorize the data in a column easily enough (using the .SetAsCategorical funciton), however, I do not know how to set other columns in the other worksheets so that they use the same CategoricalMap as the first column. Is there a function that can set the a column to this first column's categorical map (something like .SetCategoricalMap(CategoricalMap x))?
Thank you, Matt |
Edited by - woodpecker on 06/22/2015 08:17:18 AM |
|
|
woodpecker
Germany
5 Posts |
Posted - 06/22/2015 : 08:27:25 AM
|
Additionally:
I was looking at the documentation for the CategoricalMap (http://www.originlab.com/doc/OriginC/ref/CategoricalMap), and there is a function to find components and return their index (.LookUp() funciton), but there does not seem to be a function to get a component in the CategoricalMap or (more important for me) to add a component to the CategoricalMap.
Is there a way to do this, to add a component?
Sincerely,
Matt |
|
|
cdrozdowski111
USA
247 Posts |
Posted - 06/22/2015 : 12:25:50 PM
|
Matt,
Could you ask your question in the Origin C forum as programmers would be more likely to see it and be able to respond in that forum. |
|
|
|
Topic |
|