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
 setting data plot color doesn't work

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
florenciapw Posted - 08/12/2005 : 11:17:23 AM
Origin Version (Select Help-->About Origin): 6.0
Operating System: dos (windows)

Hi, Mike:
Why doesn't the following script work?

%K = Graph;
%K!layer1.include(%J_Cts,202); //%J_Cts is a dataset already defined
set %J_Cts -c 1;
get %J_Cts -c aux;
aux=;

It returns:
AUX=0

Thus, I cannot set the colors in my graph. The same happens with the setting options -cf, -cl, -cse, -csf, but not for example with -d.

florencia
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 08/12/2005 : 3:30:43 PM
Hi Florencia,

The graph needs to be active when you use set or get. If it's not active you can use win -o to activate temporarily...

win -o %K {
set %J_Cts -c 1;
get %J_Cts -c aux;
};
aux=;
AUX=1

Mike Buess
Origin WebRing Member

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