T O P I C R E V I E W |
fticr |
Posted - 11/11/2021 : 04:32:58 AM Hi:
I'd like to calculate values (e.g. RMS or mean) of regional selected data. Is it possible to use LabTalk script to perform it?
Are there any commands such as: a = rms(____); (____= the red selected region) a=
Thank you.
|
4 L A T E S T R E P L I E S (Newest First) |
fticr |
Posted - 11/11/2021 : 12:50:46 PM Hi Snow:
Thank you for the reply and answer.
That was really helpful.
quote: Originally posted by snowli
Hello, %C refers to current plot. If there is selection, it will refer to that as well
So u don't have to define range. Just do ma=mean(%C)
Thanks, Snow
|
snowli |
Posted - 11/11/2021 : 12:46:32 PM Hello, %C refers to current plot. If there is selection, it will refer to that as well
So u don't have to define range. Just do ma=mean(%C)
Thanks, Snow |
fticr |
Posted - 11/11/2021 : 12:14:44 PM Hi Snow,
Thank you for the reply.
I wonder if I can select the region I want graphically (using Regional Data Selector), and then calculate the values of the selected region?
In other words, does range notation support graphically selected region?
Thanks,
quote: Originally posted by snowli
Hello, We support range notation to specify a range in worksheet, graph, etc. https://www.originlab.com/doc/labtalk/guide/range-notation Also we have many built-in functions to use in Labtalk https://www.originlab.com/doc/LabTalk/guide/Functions#Built-In_Functions
E.g.
range aa=[graph1]layer1!1[10:20]; ma=mean(aa); ma=;
Thanks, Snow
|
snowli |
Posted - 11/11/2021 : 09:19:17 AM Hello, We support range notation to specify a range in worksheet, graph, etc. https://www.originlab.com/doc/labtalk/guide/range-notation Also we have many built-in functions to use in Labtalk https://www.originlab.com/doc/LabTalk/guide/Functions#Built-In_Functions
E.g.
range aa=[graph1]layer1!1[10:20]; ma=mean(aa); ma=;
Thanks, Snow
|
|
|