Author |
Topic  |
|
sebbey
Germany
70 Posts |
Posted - 08/03/2012 : 03:23:28 AM
|
Origin Ver.: 8.6.0G Operating System: Windows 7 Professional
Hi Guys,
I have 5 dataplots in a graphlayer. Now when I want to change the color of the plots by using setcolor, it does not work. What I found out is as the dataplots are grouped as 'dependents', setcolor is not able to change the colors. I want to know how put the dataplots as "independent" with the help of a LabTalk Script so that I can then use set color to change the color of all the dataplots together ?
Thanks in advance, sebbey |
|
Hideo Fujii
USA
1582 Posts |
Posted - 08/03/2012 : 10:25:37 AM
|
Hi sebbey,
I don't know whether there is a way to make grouped plots independent, but you can ungroup them, if your purpose is to customize plots individually. To ungroup plots in the active layer, you can use the command:
layer -gu;
By the way, to group again, you can group plots by:
layer -g;
Does it work for you?
--Hideo Fujii OriginLab |
 |
|
greg
USA
1379 Posts |
Posted - 08/03/2012 : 11:25:04 AM
|
If using a custom Template does not satisfy your requirements then an alternative approach is to create a grouped theme to control plot styles and apply the theme when needed. For example, I could set a grouped dataplot to use just up and down triangles and set the group as Nested so the shapes are exhausted before moving on to the next color in my custom color list. Once saved as a Theme - e.g. right-click in the group table and save as "Grouped Nested UD Triangles" - I can load the theme with:
themeApply2g theme:="Grouped Nested UD Triangles"; |
Edited by - greg on 08/03/2012 1:58:32 PM |
 |
|
sebbey
Germany
70 Posts |
Posted - 08/06/2012 : 09:16:44 AM
|
Hi Greg,
thank you for the hint. Using a Theme works fine for me.
Greetz, Sebbey |
 |
|
|
Topic  |
|
|
|