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 for Programming
 LabTalk Forum
 Color change in grouped diagrams

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
Lou356 Posted - 11/18/2024 : 12:51:42 PM
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
3   L A T E S T    R E P L I E S    (Newest First)
ChaoC Posted - 11/19/2024 : 2:10:10 PM
Hello,

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

Best,
Chao
Lou356 Posted - 11/19/2024 : 06:39:29 AM
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
ChaoC Posted - 11/18/2024 : 4:27:28 PM
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

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