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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 setting data plot color doesn't work
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

florenciapw

Argentina
Posts

Posted - 08/12/2005 :  11:17:23 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike Buess

USA
3037 Posts

Posted - 08/12/2005 :  3:30:43 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000