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
 Lab Talk script for area of integration control

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
mahesh2444 Posted - 05/07/2021 : 07:12:02 AM
Origin Ver. 2021 and Service Release (Select Help-->About Origin): 9.8
Operating System: Windows 10 version 20H2

I am trying to draw the graph as shown in the attached picture. Priority is to plot the graphs highlighting certain number of portions as per the user requirement. For this purpose only I am using Integration(X-function provided in scripting). But the problem with using this command in script is I am not able to control the range of highlighted portion. Through GUI, it is possible for user to specify range of highlighted portion. But I want to know how can I use the X-function with the control over range in LabTalk script.
I am facing this error even I am supposed to be using what was stated in help

>>> addtool_curve_integ trGUI.rectcolor:=21;
addtool_curve_integ:X-Function failed to execute!
Failed to resolve tree node, VarName = trGUI, VarValue = <unassigned>, fail to get node from path: rectcolor
#Command Error!


Can anyone tell me what's wrong with this ?
If anybody have an idea about this or an idea about work around tricks to do the same, do share me with me. Your help would be of immense value for me.
1   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 05/08/2021 : 3:43:35 PM
Hello,

You don't need to use the integration gadget, as you are not interested in the integration results but just want the highlighting.

You can use reference lines instead. Please take a look at this page:
https://www.originlab.com/doc/LabTalk/ref/Layer-Axis-Refline-obj

Easwar
OriginLab

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