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
 Forum for Python
 Color scale lables

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
iniwoni Posted - 06/02/2025 : 06:55:37 AM
Origin Ver. and Service Release (Select Help-->About Origin): Origin2025 10.2.0.188
Operating System: Win10

Hi!
How can I make labels of color scale bar? Please see uploaded screenshot. I'd like to add labels, "testA/testB".


2   L A T E S T    R E P L I E S    (Newest First)
iniwoni Posted - 07/31/2025 : 2:31:23 PM
I meant tick labels.
Anyway, thank you, minimax!
minimax Posted - 07/14/2025 : 05:14:15 AM
Hi iniwoni,

First of all, as to your term "label" for color scale bar, I suppose you mean "title" in fact? see screenshot below.



On the Color Scale Control dialog, the "Labels" is used for the tick labels.

If yes, you may try py script below.

import originpro as op
gp = op.find_graph()
gl = gp[0]
sp = gl.label('SPECTRUM1')  #name of the color scale bar
sp.set_str('title', 'testA/testB')


If you do mean tick labels, it is not supported yet and we will take a look. (internal record ID: ORG-31409)

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