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
 Load theme for grouped plots

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
roland.som Posted - 12/12/2022 : 04:26:05 AM
Hi
I am trying to apply a color theme for grouped plots with labtalk (for instance the theme "color4Bar"), but I couldn't find the right command for that. The command "themeApply2g" is used to apply a theme to the whole page, so it cannot be used for my specific task.

Any ideas about how to do that?
Regards
Roland

Origin Ver. and Service Release (Select Help-->About Origin): 2021
Operating System: Windows 10
4   L A T E S T    R E P L I E S    (Newest First)
roland.som Posted - 12/13/2022 : 02:23:12 AM
If I were sure that this feature has been added in Origin 2022, I would upgrade. In the mean time I will use the workaround with the template.
Thank's again
Roland
YimingChen Posted - 12/12/2022 : 12:27:43 PM
You need to upgrade your Origin to have it work. I don't find a workaround for your Origin version. You may have to save the graph with the specific color list as a graph template and make new graphs using the template.

James
roland.som Posted - 12/12/2022 : 10:59:22 AM
Hi James

Thank you for your reply. Unfortunately it does not work, at least for me. I noticed that I can assign a color theme to layer.plotn.colorlist$, but it does not modify the color scheme for the line (the "by plots"), but the one for the "by points" (see attached screenshot). Any other ideas?

Roland
YimingChen Posted - 12/12/2022 : 09:25:32 AM
If you want to set a color list to a group of plots, you can try:

layer.plot1.colorlist$ = color4Bar;


Here plot1 is within the group of lines.

James

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