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
 Lab Talk script for area of integration control
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mahesh2444

India
5 Posts

Posted - 05/07/2021 :  07:12:02 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

Edited by - mahesh2444 on 05/08/2021 01:19:45 AM

easwar

USA
1965 Posts

Posted - 05/08/2021 :  3:43:35 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
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