T O P I C R E V I E W |
Mathias List |
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 |
7 L A T E S T R E P L I E S (Newest First) |
cdrozdowski111 |
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. |
woodpecker |
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 |
woodpecker |
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 |
snowli |
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 |
Mathias List |
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?
|
Mathias List |
Posted - 01/22/2015 : 11:17:15 AM thanks a lot.
|
snowli |
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 |