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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Color change in grouped diagrams
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Lou356

Germany
2 Posts

Posted - 11/18/2024 :  12:51:42 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

I have a xy-graph with 10 groups and each group has three data sets (replicas).
Now I want each group to have a different color (all three replica within the same group the same color).
I found the following command, which is not working for me
set <LayerName> -c <Color>;

Is the command wrong? Or am I putting a wrong LayerName - then how to find the correct one?



Origin 2019 9.6.0.172
Operating System: Windows 10

ChaoC

USA
174 Posts

Posted - 11/18/2024 :  4:27:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

The following code will group all your plots into the same group and will use subgrouping instead to to manage the plot properties, including color:

layer -gu;
layer-g;
layer.plot1.subgroupsize=3;
layer.plot1.usepropssubgroup=2

Best regards,
Chao
Go to Top of Page

Lou356

Germany
2 Posts

Posted - 11/19/2024 :  06:39:29 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Chao,

thanks for your reply.
Ungrouping and Grouping works, but subgroupsize not. There is no error, just nothing happens.
Any ideas why?

Best regards
Go to Top of Page

ChaoC

USA
174 Posts

Posted - 11/19/2024 :  2:10:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

I would need to take a look at your project file to see how you have it set up.

Best,
Chao
Go to Top of Page
   Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000