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
 Change Color/LineType of Smoothed Lines

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
sebbey Posted - 08/01/2012 : 05:18:27 AM
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
1   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 08/01/2012 : 4:02:46 PM
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);

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