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 palette via LabTalk?

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
peroma Posted - 06/10/2003 : 04:08:56 AM
Hi forum,

I try to create a symbol plot via LabTalk from scratch. Is it possible to link the color of the symbols to another column?
The command:
set dataset -c value
does not give the right results, since this command links the column with the index of the color (1=black, 2=red, ...) and does not create a continuous color gradient with a min- and a max-value.
In addition to creating the color-palette I also want to manipulate the palette. Is this possible with LabTalk or Origin C?

Thanks
Peter
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 06/12/2003 : 12:20:48 PM
Similar to your previous post about size indexing, you may want to create a template in which the symbol color is set to "RGB" instead of "indexing"(i.e., Palette), though you probably need to transform your color index value in terms of RGB=Red+(256*Green)+(65536*Blue) such as if you want to intensify the green hue a level, you add 255, etc. Hope I didn't misunderstand what you want to do.

--Hideo

peroma Posted - 06/12/2003 : 09:57:58 AM
Hi Mike,

thank you for your response. You showed me,how to chance the colors of the normal color palette, where 1=black, 2=red, 3=green... I want to do something quite different: If you open the "symbol box" in Origin you will find 7 choices to set the color. The last 3 of them are associated with the values of another column:
  • Index
  • RGB
  • palette

I have to choose "palette" since my values are all between "0" and "1". When this option is active, there will another "folder" for the box, that is call "color palette" (this is the translation from the german version and I hope it is correct). I want to manipulate the entries in this folder by any script.

So the question is: Do you, or anybody out there know how to do this? Or has OriginLab not implemented the access to these varables?

Thanks for any help

Peter
Mike Buess Posted - 06/10/2003 : 4:58:28 PM
Hi Peter,

I haven't tried anything like that but you might find some pointers in this forum post.

Mike Buess
Origin WebRing Member

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