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
 Change Color/LineType of Smoothed Lines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

sebbey

Germany
70 Posts

Posted - 08/01/2012 :  05:18:27 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.: 8.6.0G
Operating System: Windows 7 Professional

Hi Everybody,

I'm currently smoothing some lines and was wondering how it is possible to keep on working with the newly created, smoothed lines.

In the picture below you can see an example I created:



After smoothing I would like to delete the original black line and change the color and linetype of the new Line. Also I would like to get rid of these pink arrows. I know how to do all this manually, but I have no idea how to get there with LabTalk Code.

Maybe someone can help me.

Thank you,
Sebbey

greg

USA
1378 Posts

Posted - 08/01/2012 :  4:02:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you remove the original data, then the markers would disappear with it:
layer -exclude %C;
The smoothed data then becomes the active dataplot and you can change its color:
set %C -c color(green);

There is a menu id for hide markers, but I was unable to locate a command. Using ranges, you could fade the original data, remove the markers and change the smoothed data color:

range rg1 = 1;
range rg2 = 2;
domenu 32972; // Hide markers
set rg1 -c color(224,224,224); // RGB very light gray
set rg2 -c color(green);
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