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 |
|
|