A few Scripting questions

Is there a complete scripting manual?
How do you get the maximum value of a plot over a certain range?
When I multiply a plot by 2, it does not seem to multiply each data point by 2. Instead, certain positive values will be negative and certain negative values will be positive and I cannot really tell what is happening. Any guidance on this?

Hi,

We have a series of free scripting courses available here: https://learn.optuma.com/optuma-courses/

We also have over 100 articles here covering scripting and specific scripting functions: https://help.optuma.com/kb/faq.php?cid=73

With regards to your specific question, HighestHigh() is what you would use to find the max value over a specific range:

https://help.optuma.com/kb/faq.php?id=920

With regards to multiplying a value by two, usually you’d just use * 2 to achieve the result.

For example, using a simple oscillator:

V1 = OSC() ; 
V1 * 2

This script takes the standard oscillator values (both positive and negative, and doubles them).

Ex3

If you are seeing a different result I’d need to see the script you were using to provide further advice.